Updated README.md

This commit is contained in:
Jesper Saastamoinen 2025-07-26 13:36:49 +01:00
parent 98897f3a0b
commit ef0d09c013

View file

@ -1,11 +1,9 @@
# Start Mediamtx
cd mediamtx/rpi
docker compose up
1. wget https://github.com/aler9/rtsp-simple-server/releases/download/v0.16.0/rtsp-simple-server_v0.16.0_linux_amd64.tar.gz
2. tar -xzvf rtsp-simple-server_v0.16.0_linux_amd64.tar.gz
3. sudo RTSP_RTSPADDRESS=localhost:554 ./rtsp-simple-server
4. ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video0 -f rtsp -rtsp_transport tcp rtsp://localhost:554/mystream
# Start the stream
ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video0 -f rtsp -rtsp_transport tcp rtsp://localhost:554/mystream
# Get /dev/videoX devices:
v4l2-ctl --list-devices