Files
ai-training/orangepi5/03 run_inference.sh
T

14 lines
378 B
Bash

# 1 terminal: run mediamtx as rtsp server
cd ~/mediamtx
./mediamtx
# 2 terminal: run rtsp
ffmpeg -re -stream_loop -1 -i ~/videos/ForAI.mp4 -c copy -f rtsp rtsp://localhost:8554/live.stream
# 3 terminal: test and stop.
ffplay -rtsp_transport tcp rtsp://localhost:8554/live.stream
# 3 terminal: inference
cd ~/autopilot/misc/rtsp_ai_player/build
./rtsp_ai_player ~/azaion.rknn