[MPlayer-dev-eng] [PATCH] MPEG-2 TS 60000/1001 FPS Conversion Error in mencoder

Uoti Urpala uoti.urpala at pp1.inet.fi
Sun Nov 26 16:06:06 CET 2006


On Sun, 2006-11-26 at 06:09 -0800, Trent Piepho wrote:
> You can find an even older thread, where I explain that av_d2q doesn't
> work.

And don't have a clue when you say that.

>   Certain people refused to acknowledge that the numbers were wrong.

Other people did note in that thread that it's possible to reconstruct
the fraction from doubles but float accuracy might not be enough. And
guess what, they were right and your claims were wrong.

(gdb) print (float)(31001./1293) == (float)(24000./1001)
$1 = 1

So av_d2q or whatever function was used to reconstruct the fraction
"didn't work" when it could not tell the difference between 2 equal
float values?





More information about the MPlayer-dev-eng mailing list