[MPlayer-users] libmpdemux & cache2

Arpi arpi at thot.banki.hu
Sun Oct 21 12:14:51 CEST 2001


Hi,

> > The other big change is cache2.c integration.
> > WARNING! it's very alpha code yet, and it doesn't support seeking!
> > But it seems to already work well with STDIN!
> >
> > To enable, change #undef USE_STREAM_CACHE to #define, and recompile.
> I've tested with this:
> wget --proxy=off -q -O /dev/stdout http://www.dv.com/video/Film_800_DivX.avi 
> | ./mplayer -
> 
> and the result is that cache always says it's a 0% (I can see that file is 
> dowloaded at about 100kbyte/s from sys monitor) and only after download 
> finished it starts playing.

maybe wget problem.

try to compile mplayer with --enable-streaming, and:

./mplayer http://www.dv.com/video/Film_800_DivX.avi

> When playing an mpeg2 from hardrive at the end of the file mplayer loops 
> playing the last 7seconds same happens with an mpeg, but it's about 13seconds 
> (mpeg vcd is half datarate of mpeg2 svcd), so maybe it plays one full buffer 
> fill. Seeking back seems to seek forward.
yes seeking is broken. i'll check EOF.

> AVI works fine.
ok

> Tried playing AVI from cdrom, abot, play again so it reads from mem, as 
> notebook cdrom is shut down when not used. It worked fine, the cache did 
> failover for the time from switching from memory read (file cache) to cdrom 
> read with only loosing 10% cache or so.
> 
> MPlayer doesn't react to keypresses on the console anymore, only in 
> displaywindow.
it's normal at stdin playing (stdin used for movies, where to read keys
from?)


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-users mailing list