Added start_stream.sh

This commit is contained in:
Jesper Saastamoinen 2025-07-26 14:11:40 +01:00
parent f5253f6afe
commit fa2f5e1f64
2 changed files with 3 additions and 0 deletions

View file

@ -2,3 +2,4 @@ services:
mediamtx:
image: bluenviron/mediamtx:latest-ffmpeg-rpi
network_mode: host
restart: always

2
mediamtx/start_stream.sh Executable file
View file

@ -0,0 +1,2 @@
ffmpeg -f v4l2 -framerate 5 -video_size 960x720 -i /dev/video0 -f rtsp -rtsp_transport tcp rtsp://localhost:8554/cam