[Ffmpeg-devel] Re: [PATCH] mov fps fix

Burkhard Plaum plaum
Wed Jan 18 11:42:31 CET 2006


> > stts atom:
> >        count 10576 duration 24
> >        count 1 duration 86
> >
> > while timescale is 600.
> >
> > Obviously frame rate is 25. But because of that last sample, it cannot
> > be computed right. Do you have any idea ?
> 
> strictly speaking that file is a variable framerate stream (propably its a
> bug in the tool that created the file, but this doesnt change that its vfr)

But a very common bug as I saw lots of files which have a different duration
for the last frame. The time difference BETWEEN frames is still constant here
(because there is no frame after the last one). So libquicktime for example
reports a constant framerate for such files.

Burkhard





More information about the ffmpeg-devel mailing list