[MPlayer-users] libmpdemux & cache2

Felix Buenemann atmosfear at users.sourceforge.net
Sun Oct 21 04:54:10 CEST 2001


On Sunday, 21. October 2001 02:21, Arpi wrote:
> Hi,
>
[snip]
>
> 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.

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.
AVI works fine.

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.

>
> A'rpi / Astral & ESP-team

-- 
Best Regards,
	Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________
Escape the Gates of Hell.
	- Use Linux.



More information about the MPlayer-users mailing list