Streaming camera to RTSP using VLC
1 min readDec 23, 2015
Streaming connected camera to RTSP using VLC is pretty much easy,
$ vlc v4l2:///dev/video0 --sout ‘#rtp{mux=ts,sdp=rtsp://IP:PORT/cam.sdp}’
Make sure to have camera plugged into the computer or host.
rtp — is the name of the VLC module we will use to stream to RTSP.
mux=ts — this is multiplex format, for live streaming, it should be ts.
sdp=rtsp://IP:PORT/cam.sdp — specify the output SDP on RTSP.
To play this RTSP stream,
$ vlc rtsp://IP:PORT/cam.sdp
Have fun :)
Original post: http://blog.petehouston.com/2015/12/21/streaming-camera-to-rtsp-using-vlc/
For more tutorials, please visit: http://blog.petehouston.com/