[Ffmpeg-devel] [PATCH] remove drop timecode flag

Rich Felker dalias
Sun Apr 15 20:00:39 CEST 2007


On Sun, Apr 15, 2007 at 10:49:17AM -0700, Trent Piepho wrote:
> 107892 == 0x1a574 == 00:59:56:12, it's all the same, just an integer
> written in different formats.

These are not equal. 107892 is either 00:59:56:29 or 01:00:00:00,
assuming 30000/1001 fps. A non-broken program should be using the
correct pts not this SMPTE bullshit.

If you want ffmpeg to generate SMPTE crap, it should correctly convert
the pts to an SMPTE value for each frame, rather than using some
30000/1001-fps-specific hack. Then, the flag should be something like
GENERATE_SMPTE_TIMECODE rather than the implementation-specific,
framerate-specific "drop timecode" nonsense. The results should be the
same in the 30000/1001 fps case anyway.

Rich




More information about the ffmpeg-devel mailing list