Page 1 of 1

Disable All Caching

Posted: 21 Jun 2009 00:00
by sourceholder
Hey there,

I am looking for a way to capture my desktop screen and transmit it over the network to a nearby computer (local LAN), with minimal latency. The command below works (VLC v0.8.6), except there is about a 2 second delay on the destination computer.

vlc screen:// :screen-fps=30 :screen-caching=50 :sout-udp-caching=0 :udp-caching=0 :rtsp-caching=0 :tcp-caching=0 :sout=#transcode{vcodec=mp4v,vb=2048,scale=1,acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=udp{caching=0,raw},mux=ts,dst=192.168.1.104:1234}}

I have gone through the VLC documentation looking for any caching or buffers, setting all of them to zero or some very small value. Is there anything I can due to reduce or eliminate the delay?

Any thoughts :?:

Re: Disable All Caching

Posted: 08 Oct 2009 18:57
by pujansrt
that delay because of encoding: video and audio

Re: Disable All Caching

Posted: 20 Nov 2010 01:07
by prividen
This delays may be caused by mux ts encoding. Try to see into sout-ts- options. In particular, sout-ts-shaping=10 and sout-ts-dts-delay=20 may help.
But note, that some minimum caching' delay are necessary, you may combine sout-ts-shaping, sout-ts-dts-delay and sout-udp-caching on transmit side, and udp-caching on receive side for optimal delays with not damaged video.