mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 07:16: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:
|
||||
```bash
|
||||
Start mediamtx RSTP server:
|
||||
cd mediamtx
|
||||
./mediamtx
|
||||
cd mediamtx
|
||||
./mediamtx
|
||||
```
|
||||
|
||||
### Play mp4 video file from RTSP server:
|
||||
```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:
|
||||
```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:
|
||||
```bash
|
||||
cd autopilot/misc/rtsp_ai_player
|
||||
qmake6 && make
|
||||
./rtsp_ai_player ~/azaion/models/azaion/azaion-2024-06-28.onnx
|
||||
cd autopilot/misc/rtsp_ai_player
|
||||
qmake6 && make
|
||||
./rtsp_ai_player ~/azaion/models/azaion/azaion-2024-06-28.onnx
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user