[Ffmpeg-devel] Re: Bug - Framerate limitation for H.264 in .mp4

Baptiste COUDURIER baptiste.coudurier
Wed Mar 22 01:07:18 CET 2006

Michael Niedermayer wrote:
> Hi
> On Wed, Mar 22, 2006 at 12:34:02AM +0100, Baptiste COUDURIER wrote:
>> Tyler Loch wrote:
>>> Michael Niedermayer <michaelni <at> gmx.at> writes:
>>>> could you provide such a file or _exact_ instructions to create one
>>>> (low resolution like 16x16 constant black could be used to reduce size
>>> Here are two video-only clips: one 2,127 frames long (working)
>>> and one 2,180 frames long (duration error).
>>> http://www.isquint.org/2127sxsw.mp4
>>> http://www.isquint.org/2180sxsw.mp4
>> First one is fine. Second has really weird stts atom :
>> first stts duration is set to 1001000 while timescale is set to 15015000
>> Duration overflow.
> isnt it possible to store the duration(s) in 64bit? (yeah iam too lazy
> to look at the spec ATM ...)
> [...]

It seems, just looked at some infos, version 1 defines duration in 64bit
 in 'mvhd' and 'tkhd'. I will patch movenc.c and mov.c to read 64bit if
version is 1, it is already done in read_mvhd.

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312

More information about the ffmpeg-devel mailing list