[MPlayer-users] Re: Changing aspect ratio while playing a file

Rich Felker dalias at aerifal.cx
Mon Nov 21 20:15:16 CET 2005


On Fri, Nov 18, 2005 at 07:09:47AM +0100, Sebastian Kaps wrote:
> Hi Rich!
> 
> >> [xvidix] window properties: pos: 625x492, size: 264x264
> > OK, this is a bug. It's supposed to (and last I checked it did) scale
> > to 625x625. 
> 
> 625 is only the x-coordinate of the window position, not the horizontal
> window size. 264x264 is the value you should look at.

Oh, sorry, xvidix output is different from mga and I didn't read.

> The video originally has a resolution of 352x240 (I currently have no
> better test candidate). And these 352-264=88 pixels are gone.

It should be 352x352.

> I checked with another video, having a resolution of 480x480. Now this
> one is scaled to 640x480 first and then to 480x480 for display.

False. There is only one scaling step and it's in the hardware.
Anything else is an illusion from intermediate numbers, but there is
no hidden scaling step being done behind your back, just intermediate
calculations.

> > Anyway you're not playing video in a window for TVout, you're playing
> > it fullscreen, and in that case there is no downscaling!
> 
> That doesn't matter since I assume having a video in TV resolution
> (720x576) being played on a screen with the same resolution. Fullscreen
> and windowed mode should then only differ in the the window manager's
> window decorations. For videos with lower resolutions we don't need to
> talk about quality loss.

If you're using a low resolution on the video card then it's your
fault. Set a correct video mode (anything high) and the loss will not
happen.

Rich




More information about the MPlayer-users mailing list