We're setting up a webcam "window" between two offices in the same buildilng.

The two PC's are connected to the same gigabit switch.

We're using VLC to stream the webcam over HTTP using the following commands.

vlc dshow:// :dshow-caching="0" :dshow-size="640x480" :sout=#transcode{vcodec=h264,vb=0,scale=0}:http{mux=ffmpeg{mux=flv},dst=:8080/} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep

vlc http://192.168.0.1:8080 :http-caching="0"

Even with the caching set to zero, the delay in the image is a good 2-3 seconds. The CPU usage of each pc is also maxed. I'm guessing it's the transcoding that's causing much of the delay.

Can anyone give me some changes to these command lines that will reduce the transcoding power, or send the webcam over a different protocol, or anything that will reduce the delay of the cameras?

Bandwidth is not an issue at all as the pc's can be connected to a dedicated switch/vlan if required.

link|improve this question

40% accept rate
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.