HTTP streaming video not smooth
Posted: 08 Apr 2010 23:30
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:
The VLC running on server converts RTP stream into HTTP stream as follows:
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!
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}'
Code: Select all
cvlc rtp://@<ip_addr_of_server> --sout='#std{access=http,mux=ts,dst=<ip_addr_of_server>:<server_port>}'