[MPlayer-users] maximum resolution: how to extend ?

add at quantentunnel.de add at quantentunnel.de
Thu May 6 23:25:08 CEST 2010


> While waiting for a better answer, have you tried a different vo? The
> following two commands work here:
> 
> mplayer -quiet -demuxer rawvideo -rawvideo fps=10:w=2500:h=2000:y8
> /dev/zero -vo gl

As with Reimar, this one does not work (it shows a white screen instead of black - and still plain white instead of noise in case I replace /dev/zero by /dev/urandom), but gl2 does (not with the current debian-multimedia mplayer which shows some green screen, but with the latest svn revision)! 

So thanks a lot, it'll teach me to read error messages with a little more brain allocated to it :-P

> mplayer -quiet -demuxer rawvideo -rawvideo fps=10:w=2500:h=2000:y8
> /dev/zero -vo x11

Works as well, but eats all the CPU. What I will have to figure out is why on some computers the resulting video window fits onto the Desktop (which is some 1280x1024), so the video is scaled down, while on others the window is really 2500x2000 and can to be dragged around. This is independent of the video output (x11 or gl2). It's all Debian boxes running some gnome environment (though not exactly the same version of mplayer). In any case is more likely to be a WM or Desktop Env preference than mplayers deed, no?

>> VO: [xv] 2500x2000 => 2500x2000 Planar YV12
>> Source image dimensions are too high: 2500x2000 (maximum is 2048x2048)
>> FATAL: Cannot initialize video driver.
>> VDecoder init failed :(
> 
> A quick search found:
> 
>     if ((max_width != 0 && max_height != 0) &&
>         (image_width > max_width || image_height > max_height))
>     {
>         mp_msg( MSGT_VO, MSGL_ERR, MSGTR_VO_XV_ImagedimTooHigh,
>                 image_width, image_height, max_width, max_height);
>         return -1;
>     }
> 
> in mplayer/libvo/vo_xv.c , line 191.

Oh, /me feels even more stupid, should have thought of this. 
Anyhow, one grep further it appears that the limitation here is not mplayer's, but the capabilities of the graphics card as exposed by X11's XV extension... (The "maximum XvImage size" given by xvinfo). So it's definitely not mplayer's limitation.

Thanks a lot Giorgio and Reimar for your help and remarks!
Adrian

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail


More information about the MPlayer-users mailing list