[MPlayer-users] FullScreen X11 output - wrong aspect ratio + gl2 comments

Christian Lambert clambert at csd.sgi.com
Tue Dec 11 09:39:49 CET 2001


[please CC me on your reply as I am not subscribed to the list]

Hi,

I'm currently looking for a way to *not* use Xvideo but still be
able to scale an image to fullscreen at 800x600 resolution and
have smooth playback.   My video source is divx and usually between
512 to 640 of width.

I am running the latest CVS which is MPlayer-20011211

So I found that it works best using the X11 output (rather than SDL)
but the aspect ratio is not respected and the image it stretched to
fullscreen rather than inserting black bars where it should.

I tried various command like such as -vm -fs -zoom and couldn't get
it to work right.  I tried also playing with pre aspect ratio scaling
and no more luck.

This is the best I could come up with so far:

mplayer -vo x11 -fs -zoom -noaspect -screenw 800 -screenh 600 <filename>

In terms of CPU usage, it plays smootly.  The reason I want to do it
is because the TV-Out of my nvidia card has a bug with Xvideo
where it displays a stupid blue line at the bottom of the rendered
screen.  I have a leadtek Nvidia Geforce 2 ti with Chrontel tv out chipset.

I found out also that the opengl gl2 module works great, but again when
I use the fullscreen mode it doesn't respect the aspect ratio
and it also doesn't scale quite completely to fullscreen, it stops where the
wm borders would be, but I don't see them, I just see my desktop.
I'm using enlightenment as wm if that can help.    Frankly, I'd rather
use the gl2 module than X11 to scale my video for the Tv Out.

Also, what are the advantages/disadvantages of using gl2 versus sdl:Xv
in terms of speed or image quality of the rendered scaled image?

Finally, just FYI there is beta support for tuning the overscan/underscan
on the Nvidia TV-out on some TV chipset, see:

http://sourceforge.net/projects/nv-tv-out

No chrontel chipset support yet but it's coming, DivX support
for my TV out might finally work some day in linux :)





More information about the MPlayer-users mailing list