[MPlayer-users] Only upper half of the screen is used when using xv

gabor gabor at z10n.net
Thu Mar 11 10:38:20 CET 2004


On Thu, 2004-03-11 at 09:22, Martin Collins wrote:
> On Wed, 10 Mar 2004 20:53:38 +0100
> Kronos <kronos at kronoz.cjb.net> wrote:
> 
> > I tried latest CVS (checkout today) and the problem is still here.
> > Now some movies play using 3/4 of the screen instead of half...
> 
> I have seen something similar with my laptop's ATI. Using -vm can help
> but changing X's resolution manually is more reliable if less convenient.


i don't know if we're talking about the same problem...

for me:
if i play a video (using -vo xv) and i press 'f' to maximize it, then it
is maximized, but it's not full-screen, not all of it is visible and
such.

my solution:
use -vf expand
basically start the file, look for the resolution, and adjust it to your
monitors aspect.
example:

you start the file,
and you get a line like this in the console:
VO: [xv] 480x276 => 480x276 Planar YV12
so the resolution is 480x276.

now, the width will stay, but the height will be adjusted to 4:3 (in my
case).
480/4 = 120
120 * 3 = 360


new command line: mplayer my.avi -vf expand=480:360.

now if you press 'f' it works ok.

i know it's painfull, but the developers will hopefully fix it soon.

(or, if you use from-cvs mplayer, downgrade libvo/x11_common.c to
release 1.163)

bye,
gabor




More information about the MPlayer-users mailing list