[vlc-devel] [RFC] Unified caching values

Laurent Aimar fenrir at elivagar.org
Fri May 20 09:38:57 CEST 2011

On Fri, May 20, 2011 at 02:41:13AM +0200, Pierre Ynard wrote:
> > As of today, VLC master has 38 different --foobar-caching
> > configuration items for input plugins (excluding 2 for stream output).
> > A large number of them have the same defaults, and some of the others
> > seem to be totally arbitrary.
> > 
> > How about unifying them by class of input, e.g.:
> > --network-caching for remote streams with high default value,
> > --file-caching for local files with moderate default value,
> > (--disc-caching optionally,)
> > --live-caching for live capture with small default value?
> Sounds like a good idea, but how does caching work? Because when setting
> too low values, Bad Things™ happen at some point in the pipeline.
> Users got broken setups in the past because of that.
 With 1.2, when the caching is too low, the input will automatically increase
it. When it does, you have a pause (can't be avoided), and you have a glitch in
audio/video (broken frames sometimes). So it's not as bad as before where VLC
would never recover.


More information about the vlc-devel mailing list