Question: How do I use the RTP with CVLC under Linux?

Answer: In order to use CVLC to stream video from your device, you can use the following command:

>> cvlc -vvv v4l2:///dev/video0:width=1920:height=1080 –input-slave alsa://hw:2,0 –live-caching 100 –sout ‘#transcode{vcodec=mp2v,vb=800,acodec=vorb}:rtp{sdp=rtsp://127.0.0.1:8554/}’

where “/dev/video0” is the INOGENI video device and “hw:2,0” is the INOGENI audio device. For watching the transported stream, you can issue the following command:

>> vlc -vvv –network-caching 200 rtsp://127.0.0.1:8554/

 

in Network streaming