On Tue, 15 Nov 2005 16:50:49 -0800
darren kirby wrote:

> quoth the Hemmann, Volker Armin:
> > On Wednesday 16 November 2005 00:02, Nick Rout wrote:
> > > I am not sure that you are at all correct. With mplayer I can resize a
> > > window with my mouse and the aspect is retained (ie i drag the window
> > > wider and it also gets taller). There are certainly no restrictions like
> > > 100/200% - any size seems to work.
> > >
> > > And aspect seems to work well when resizing to fullscreen too. If it is
> > > in some form of letterbox (eg 16:9) you get black lines above and below,
> > > just as expected.
> > >
> > > Some media formats (avi?) have a place in the header to specify aspect
> > > ratio, whereas others seem to leave it to the player to guess from the
> > > frame size. If the header doesn't specifiy then the player can get
> > > confused, but mplayer has the -aspect switch which seems to fix this on
> > > the rare occasion that it is an issue. And it is not well hidden,
> > > searching the man page for "aspect" turns it up.
> > >
> > > I see that there is also a switch called "-nokeepaspect":
> > >
> > > -nokeepaspect
> > >  Do not keep window aspect ratio when resizing windows.  Only works with
> > > the x11, xv, xmga, xvidix, directx video output drivers.  Furthermore
> > > under X11 your window manager has to honor window aspect hints.
> > >
> > > Maybe this is turned on in your machine?
> > >
> > > Check /etc/mplayer.conf (system wide) and ~/.mplayer/*
> >
> > I do not have this options in any config, which are both the defaults one,
> > but when I resize the (g)mplayer window with the mouse, the aspect ratio is
> > totally ignored. Which is pretty annoying.
> 
> I have the exact same behavior here. All the options seem to imply that 
> keeping the aspect ratio is the default, but it just isn't working like that. 
> All the options in the man page involving 'aspect' describe how to change 
> this default behavior (which isn't happening...) and logically negating them 
> in mplayer.conf doesn't appear to work in the few attempts I've made.
> 
> I'm using kde, perhaps it is interference by the WM at work here...

Yes i will try it in kde tonight. However I suspect its more likely a
video driver issue. see below.

> 
> To tell the truth though, this doesn't really bother me too much since I 
> usually only use 'Double' or fullscreen size. It is odd though. 

What output driver are you using?

I am using xv

Looking at the output of mplayer running from the command line should
tell you.

Also mplayer -vo help will give you a list of those available. 
-- 
Nick Rout <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list

Reply via email to