[MPlayer-dev-eng] Is cache2 working?
Bertrand Baudet
bertrand_baudet at yahoo.com
Sun Jan 20 22:38:44 CET 2002
On Saturday 19 January 2002 06:56 am, you wrote:
> Hi,
>
> > I tried to play a stream from the network:
> > mms://216.106.173.150/cinnow1299/wm8/lucky_town_t_300k.asf
> > without prebuffering this is unwatchable, so I try to put the -cache 4
>
> 4kb is not enough...
Yes, I agree but why mplayer blocks here?
If I give a value less than 4 mplayer will complain, and 4 is the min
value that we can give but mplayer will block.
> > in mplayer command line and nothing happen.
> > I got the:
> > CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
> > Cache fill: 0.00% (0 bytes)
>
> i think cache needs to be at least 4*buffersize big. it's ~8kb...
>
> > but it stick like this for ever, I have to CTRL-C it to quit it
> > and mplayer tell me that both processes were in open_stream
> >
> > I was wondering if was doing something wrong in my network
> > layer, but no, I gave a local file(not an URL) with the same cache option
> > and same thing happened.
> >
> > Any ideas?
>
> -cache 4096
Yes this works.
> > BTW, I want to automatically turn on the caching for network stream
> > when I can compute a cache_size value from the stream.
> > To do that I have to remove the static for the stream_cache_size
> > variable, is there a cleaner way to do that?
>
> none
>
> but i think it will conflict with new configplaytree, it doesn't like if we
> modify an option's parameter from outside :(
I will try to use the configplaytree stuff.
Bertrand
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
More information about the MPlayer-dev-eng
mailing list