# 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
