[Ffmpeg-devel] mov doesn't set FPS?
Sun Jul 24 13:53:13 CEST 2005
On Sun, Jul 24, 2005 at 01:17:18PM +0200, Ronald S. Bultje wrote:
> On Sun, 2005-07-24 at 13:07, Rich Felker wrote:
> > The demuxer has absolutely no business setting the _codec_ timebase.
> > It can only touch the demuxer timebase. At least that's what I think
> > Michael was saying.
> Oh, I see. Hmm... I probably misunderstand the new API then. So for
> those formats for which it makes sense, how would I retrieve the
> framerate from the demuxer (e.g. mov or avi)?
Both the demuxer and the codec have a time base and timestamps for the
stream, at least with many formats. IMO you should use the ones from
the demuxer. The codec ones are often bogus, e.g. in avi files created
by mencoder.. :)
More information about the ffmpeg-devel