Updated README.md
This commit is contained in:
parent
98897f3a0b
commit
ef0d09c013
1 changed files with 5 additions and 7 deletions
12
README.md
12
README.md
|
@ -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
|
# Start the stream
|
||||||
|
ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video0 -f rtsp -rtsp_transport tcp rtsp://localhost:554/mystream
|
||||||
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
|
|
||||||
|
|
||||||
# Get /dev/videoX devices:
|
# Get /dev/videoX devices:
|
||||||
v4l2-ctl --list-devices
|
v4l2-ctl --list-devices
|
||||||
|
|
Loading…
Reference in a new issue