[MPlayer-users] controlling MPlayer size and position
mattficken at mail.com
Mon Sep 1 01:16:59 CEST 2003
But then how is the aspect ratio of the video maintained?
mplayer -geometry 1024x768+0+0 -screenw 1024 -screenh 768 -vo xv video.mpg
is able to set the size and position, but -screenw & -screenh have to be there for it to work for me. Unfortunely setting both the width & height will break the aspect ratio of some videos. Isn't there a way that I can give mplayer a width and have it figure out the corresponding height to maintain the aspect ratio?
----- Original Message -----
From: Joonas Koivunen <rzei at mbnet.fi>
Date: Mon, 1 Sep 2003 00:36:51 +0300
To: "MPlayer user's list." <mplayer-users at mplayerhq.hu>
Subject: Re: [MPlayer-users] controlling MPlayer size and position
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Monday 01 September 2003 00:06, Matt Ficken wrote:
> > [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > how can I control an mplayer window's size and position.
> -geometry x[%][:y[%]] or [WxH][+x+y]
> > I know that there are command line options (-screenh,-screenw) to control
> > its width but those options (-screenh & -screenw) don't work for me on the
> > xv, sdl, or x11 video outputs.
> -screenw <pixels> -screenh <pixels>
> If you use an output driver which can't know the resolution of the screen
> (fbdev/x11 and/or TVout) this is where you can specify the horizontal and
> vertical resolution.
> FTFM (from the fucking manual) :)
> Dunno though why one couldn't get resolution with x11...
> > Also, I don't know of anything that is supposed to set its position.
> RTFM!!! http://www.MPlayerHQ.hu/DOCS
> Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
Sign-up for your own personalized E-mail at Mail.com
CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
More information about the MPlayer-users