[FFmpeg-devel] [PATCH] dvd vob input fps detect wrong

Michael Niedermayer michaelni
Fri Sep 7 14:05:31 CEST 2007


Hi

On Fri, Sep 07, 2007 at 06:18:30PM +0800, Limin Wang wrote:
> Hi,
> 
> When I use ffmpeg to converted some ntsc dvd(interlaced), it'll detect its
> frame rate(by other tools, I'm sure it's 29.97fps) to 59.54 which will cause
> many duplicate frame and very bad quality. ffmpeg will report below message
> always: 
> 
> Seems stream 0 codec frame rate differs from container frame rate: 29.97
> (30000/1001) -> 59.94 (60000/1001)
> 
> After using below patch, it'll fix the issue, but I don't know
> why it'll process mpeg2video as special case? Please give your comments.

mpeg2video with 30000/1001 fps can through the use of the repeat first field
and top field first flags have frames start at any point in a 60000/1001
timebase so the code is correct your change breaks it

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070907/c1e37e28/attachment.pgp>



More information about the ffmpeg-devel mailing list