[Mplayer-users] Crusoe & CT 69000 video chip with

Arpi arpi at thot.banki.hu
Fri Sep 7 21:52:39 CEST 2001


Hi,

> So, as the smaller sized MPEG1 works, maybe this is the actual reason. 
> There is 2 megs videoram on C&T 69000, maybe this is not enough to decode 
> the MPEG2 stream in full size?
2 megs is too small. i've even problems with 16mb on g400...
(it was enough, but i got screen corruptions playing movie, until
i changed X config to use only 14mb of 16)

> I also tried -x and -y scaling for the DVD (assuming that lesser amount of 
> YUV buffer(s) would be then requested from X by mplayer) but that didn't 
> help either, the same bad alloc-error occurs also then. Do the -x and -y 
> options on mplayer have any real effect on the size of the YUV buffers or 
> whatever?
-x -y etc changes only scaled (displayed) size.
yuv buffer size depends only on mpeg file resolution, and can't be changed
unless you re-encode it.
YV12 size is width*height*1.5
so a standard DVD requires at least 720*576*1.5 = 622080 bytes.
2MB should be enough, except other programs (like console, X, etc) uses it.
and with double buffering it's double size...

but you will have some gfx screen allocated, with 16bpp it's
about 640*480*2=614400 (or are you using larger resolution?)

(for example, 1024*768*4 (32bpp) = 3145728 (3MB!))


A'rpi / Astral & ESP-team

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

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list