[MPlayer-dev-eng] enhancement for yuv4mpeg output driver

Michael Niedermayer michaelni at gmx.at
Thu Jan 20 13:27:52 CET 2005


On Thursday 20 January 2005 07:00, Trent Piepho wrote:
> You might want to add every NTSC DVD, VCD, and SVCD in existence too, as
> av_reduce always gives the incorrect result.  If you have an avi file with
> 30000/1001 fps correctly in its header, and av_reduce() gives 30000/1001
> from mplayer's float fps value, then please speak up, because I've never
> managed to find a single one.

and ive never seen any case where it was wrong


> Secondly, even if I specify -fps 30000/1001, av_reduce() reduces it to
> 10999/367!  My float->fraction code gets it right.

no, just tried -fps 30000/1001 with mencoder, the resulting avi has the 
correct 30000/1001 value, and mencoder uses av_d2q() which uses av_reduce() 
to get the correct fraction



"nothing is evil in the beginning. Even Sauron was not so." -- Elrond

More information about the MPlayer-dev-eng mailing list