
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

# Get /dev/videoX devices:
v4l2-ctl --list-devices
