[MPlayer-users] change cache on the fly

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Wed Feb 9 23:01:35 CET 2011


Hi sergio!

 On 2011.02.09 at 21:53:47 +0300, sergio wrote next:

> >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.
> Yes.
> But if I set cache to 32Mb or 64Mb (I like this numbers, and it's enough for
> all my needs) I have problems with network streams. For example the first
> stream from the first example, tries to prefill 20%. 7Mb for 96.0 kbit
> realtime audio!
> 
> It's impossible to set common cache setting in config.

Why not. Just set different one for network streams, here you go:

cache = 8192

[protocol.http]
cache = 2048
cache-min = 1

[protocol.rtsp]
cache = 2048
cache-min = 1

Tried it just now and it works
(actually it's based on manpage example which shows how to set "nocache"
for dvdnav automatically)

-- 

Vladimir


More information about the MPlayer-users mailing list