mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-23 00:56:34 +00:00
Minor fixed to README.md file in rtsp_ai_player
This commit is contained in:
@@ -19,25 +19,24 @@ tar xf -C mediamtx mediamtx_v1.8.4_linux_amd64.tar.gz
|
|||||||
|
|
||||||
### Launch mediamtx RTSP server:
|
### Launch mediamtx RTSP server:
|
||||||
```bash
|
```bash
|
||||||
Start mediamtx RSTP server:
|
cd mediamtx
|
||||||
cd mediamtx
|
./mediamtx
|
||||||
./mediamtx
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Play mp4 video file from RTSP server:
|
### Play mp4 video file from RTSP server:
|
||||||
```bash
|
```bash
|
||||||
ffmpeg -re -stream_loop -1 -i $HOME/azaion/models/videos/for_ai_short.mp4 -c copy -f rtsp rtsp://localhost:8554/live.stream
|
ffmpeg -re -stream_loop -1 -i $HOME/azaion/models/videos/for_ai_short.mp4 -c copy -f rtsp rtsp://localhost:8554/live.stream
|
||||||
```
|
```
|
||||||
|
|
||||||
### Test RTSP streaming with ffplay:
|
### Test RTSP streaming with ffplay:
|
||||||
```bash
|
```bash
|
||||||
ffplay -rtsp_transport tcp rtsp://localhost:8554/live.stream
|
ffplay -rtsp_transport tcp rtsp://localhost:8554/live.stream
|
||||||
```
|
```
|
||||||
|
|
||||||
### Compile and run rtsp_ai_player:
|
### Compile and run rtsp_ai_player:
|
||||||
```bash
|
```bash
|
||||||
cd autopilot/misc/rtsp_ai_player
|
cd autopilot/misc/rtsp_ai_player
|
||||||
qmake6 && make
|
qmake6 && make
|
||||||
./rtsp_ai_player ~/azaion/models/azaion/azaion-2024-06-28.onnx
|
./rtsp_ai_player ~/azaion/models/azaion/azaion-2024-06-28.onnx
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user