# Start Mediamtx - cd mediamtx/rpi - docker compose up # 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 - v4l2-ctl --list-formats to see available formats