[MPlayer-users] [Feature requests] ID_MOVIE_ASPECT=

Rich Felker dalias at aerifal.cx
Fri Aug 19 21:17:53 CEST 2005


On Fri, Aug 19, 2005 at 06:09:51PM +0200, Alexey Fisher wrote:
> Sorry i made wron request.
> Th problem is: if i use Kmplayer as GUI for mplayer it use 
> width/height ratio based on:
> > ID_VIDEO_WIDTH=480
> > ID_VIDEO_HEIGHT=480
> but
> > Movie-Aspect is 1.33:1 - prescaling to correct movie 
> aspect.
> > VO: [xv] 480x480 => 640x480 Planar YV12
> KMPlayer can't use this correction fon mplayer :(
> Is it possible to prowide some thing like this:
> > ID_VIDEO_WIDTH_NEW=640
> > ID_VIDEO_HEIGHT_NEW=480
> To halp make KMPlayer workin properly.
> Thank you :)

No. You just need to learn some elementary school math. Get the pixel
sizes of the video from ID_VIDEO_WIDTH and ID_VIDEO_HEIGHT, then use
the aspect ratio to choose a display size if it's present and
otherwise assume square pixels...

Rich




More information about the MPlayer-users mailing list