[MPlayer-dev-eng] Bug in aspect ratio calculation for theora

salsaman salsaman at xs4all.nl
Tue Oct 5 14:44:53 CEST 2004


Hi there,
I am currently testing ogg theora encoding in LiVES 
(http://lives.sourceforge.net)

There seems to be a problem calculating aspect ratios for this format.

With a movie size of 256x144 (aspect ratio of 16:9) I see the following:

VDec: vo config request - 256 x 144 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 3.16:1 - prescaling to correct movie aspect.
VO: [xv] 256x144 => 456x144 Planar YV12


Now, (256 * 256) /  (144 *  144)  = 3.16049...

so it seems that somewhere mplayer is not taking a square root.

Cheers,
Salsaman.





More information about the MPlayer-dev-eng mailing list