[MPlayer-users] Setting geometry of output window does not work

Giacomo Comes comes at naic.edu
Tue May 3 18:29:36 CEST 2005

On Tue, May 03, 2005 at 05:59:31PM +0200, Thomas Zangl - Mobil wrote:
> Am Mon, 2 May 2005 16:23:10 -0400, schrieb "Giacomo Comes" <comes at naic.edu>:
> Hi,
> >MPlayer uses the option -geometry in a different way than standard
> >X11 usage. With X -geometry is used to specify the size and the
> >position on the screen of the window.
> >MPlayer uses -geometry only to specify the position. For the size
> >you must use -vf scale=X:Y
> The size is perfect but the position is the problem. I changed
> -geometry to "-geometry 40:80" but I do not see any difference
> compared to mplayer running w/o the -geometry parameter.

It should work. If it doesn't, it could be a problem/configuration
of the window manager. You can also try "-geometry +40+80" or
try with another window manager.

> So it seems the "-geometry" parameter has no effect. Any idea why?
> This is my command line:
> /usr/bin/mplayer -autosync 100 -nolirc -autoq 100 -fs -slave -ao alsa1x:surround51 
> -channels 6 -af
> pan=6:100:0:0:0:100:100:0:100:0:0:100:100:0:0:100:0:0:0:0:0:0:100:0:0
> -v -vo xv,sdl,x11, -geometry 30:80  -cache 5000 -idx -vc xvid,
> /archive/bla.avi 

Wait!!! you use "-fs". This overrides the size and position. Take it out.


More information about the MPlayer-users mailing list