[MPlayer-users] change cache on the fly

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Feb 9 19:14:42 CET 2011

On Wed, Feb 09, 2011 at 07:11:42PM +0300, sergio wrote:
> On 02/06/2011 02:10 PM, Reimar "Döffinger" wrote:
> >No. But why not just always use a larger cache?
> >You are aware of the -cache-min option?
> Mplyaer computes cache size automatically on start.

Uh, no it doesn't.

> For example when I play local file cache not used. For one http
> realtime music
> cache is 180 KBytes with cache-min 20%, and for another 320 KBytes with 0%
> prefill.
> Cache depends on source. It's impossible to set common cache setting for all
> media.

There is simply no point at all in varying the cache size (except memory usage,
and possibly bugs). cache-min of course needs to differ.

> >Wouldn't be hard to add a possibility to change that at runtime, though it
> >probably will not behave as desired so it's likely pointless.
> I think this will be usefull option.

I was talking about -cache-min, and that wouldn't really do anything until
the next file.

More information about the MPlayer-users mailing list