Page 1 of 1

HTTP streaming video not smooth

Posted: 08 Apr 2010 23:30
by pavelj
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 video image is static. As soon as there is some movement in the video, the HTTP stream becomes choppy, ghostly, and freezes for a few seconds. All the machines (running Fedora 12) are on a local network so traffic, latency should not be the issue. Any suggestions to improve the video quality this will be appreciated!

Re: HTTP streaming video not smooth

Posted: 12 Apr 2010 20:29
by pavelj
Following up ....... I have tried using other codecs but still can't get decent quality video. Others people using webcam and HTTP live streaming, are you seeing the same issue? Any other suggestions/advice on this topic will be much appreciated - thanks!