[vlc-devel] Re: Pause / Play latency when streaming from one VLC to another

Gildas Bazin gbazin at netcourrier.com
Tue Aug 5 23:08:45 CEST 2003


On Tuesday 05 August 2003 21:01, John Michael Zorko wrote:
> 
> Hello, all ...
> 
> I'm trying to determine the "cause for the pause", forgive my bad 
> poetry :-)  Basically, I am using VLC 0.6.0 in the following way:
> 
> 1. VLC instance streaming a VOB using --sout udp/ts:<address>
> 2. another VLC instance (same box, or different box) receiving that 
> stream and playing it
> 
> ... basically, when I pause the server VLC (using the GUI, or the rc 
> interface, or our own socket interface), the client VLC takes a couple 
> of seconds before it pauses the content.  When I resume playback on the 
> server, the client VLC again takes 2-3 seconds to resume playback.  I 
> want to reduce this latency as far as I can while remaining usable.  Is 
> there already an item in vlc_config.h that would get me there?  I 
> didn't see one that jumped out and screamed "I am the one!"  Is there a 
> way I can tune, say, the max number of buffers the decoder FIFO will 
> hold, and is this the right way of solving the problem?
> 

Did you have a look at the --foo-caching options ? (where foo is the access 
plugin, eg. --udp-caching, --file-caching, --http-caching, etc...)
These options modify the caching delay between the demuxers and outputs.

There's also the --udp-sout-caching option for the stream output.

--
Gildas

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list