Added start_stream.sh
This commit is contained in:
parent
f5253f6afe
commit
fa2f5e1f64
2 changed files with 3 additions and 0 deletions
|
@ -2,3 +2,4 @@ services:
|
|||
mediamtx:
|
||||
image: bluenviron/mediamtx:latest-ffmpeg-rpi
|
||||
network_mode: host
|
||||
restart: always
|
||||
|
|
2
mediamtx/start_stream.sh
Executable file
2
mediamtx/start_stream.sh
Executable 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
|
||||
|
Loading…
Reference in a new issue