HTTP video streaming not smooth

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
pavelj
New Cone
New Cone
Posts: 5
Joined: 01 Apr 2010 20:42

HTTP video streaming not smooth

Postby pavelj » 16 Apr 2010 18:45

I have set up a HTTP webcam video stream using the following configuration:

Webcam connected machine streams video to a server using RTP. The command I am using is:

Code: Select all

cvlc -v v4l2:///dev/video0 --sout='#transcode{vcodec=h264,vb=284,scale=0.5,acodec=mp4a,ab=128,channels=2,deinterface,croptop=2}:duplicate{dst=rtp{dst=<ip_addr_of_server>,port=5004,mux=ts},dst=display}'
The VLC running on server converts RTP stream into HTTP stream as follows:

Code: Select all

cvlc rtp://@<ip_addr_of_server> --sout='#std{access=http,mux=ts,dst=<ip_addr_of_server>:<server_port>}'
The configuration works and the video quality is good as long as the image is static. As soon as there is some movement in the video, the HTTP stream becomes choppy, and freezes for a few seconds. All the machines are on a local network so traffic, latency should not be the issue. Any suggestions to improve the video quality this will be appreciated!

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 40 guests