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

Giacomo Comes comes at naic.edu
Mon May 2 22:23:10 CEST 2005

On Mon, May 02, 2005 at 03:11:43PM -0500, Kichigai Mentat wrote:
> On May 2, 2005, at 14.35, Thomas Zangl - Mobil wrote:
> >
> >Hi!
> >
> >I have problems setting the output window of mplayer. If somebody
> >knows xine, its also possible to do this. Here is a working (xine)
> >command line:
> >
> >/usr/bin/xine --hide-gui -pq -g -B --geometry 690x531+30+45 --no- 
> >splash
> >--stdctl -V xv -A alsa --no-lirc --post=pp:quality=10,expand
> >file:///mnt/cdrom/bla.avi
> >
> >This is the mplayer commandline:
> >/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 690x531+30+45  -cache 5000 -idx -vc xvid,
> >-cdrom-device /dev/cdroms/cdrom0 //mnt/cdrom/bla.avi -vf pp=de
> >
> >Any idea why "-geometry 690x531+30+45" has no effect in mplayer but
> >with xine?
> Probably because MPlayer and Xine are different programs? Try -vf  
> scale=(Insert X dimension here):(Insert Y dimension here)

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


More information about the MPlayer-users mailing list