[FFmpeg-devel] [RFC] consider all mpeg4 tb_unreliable()

Reimar Döffinger Reimar.Doeffinger
Fri Mar 6 16:38:06 CET 2009

On Fri, Mar 06, 2009 at 04:23:25PM +0100, elupus wrote:
> I just ran into an avi file which contains a mpeg4 video stream with a
> time_base of 23.9.. This have been muxed into a 25fps avi, and the audio
> resampled to sync..
> Now r_frame_rate for this file get's set to 23.9.. instead of the real
> framerate (at playback based on timestamps), 25 fps.
> Forcing the codec to be considered as tb_unreliable() will work for the
> sample in question ( 25fpsVidConsidered24fps.avi in incomming ). 
> But i'm not sure what other problems that might cause.
> Any thoughs?

That the real issue here is container vs. codec frame rate, and the
container frame rate usually should be considered authoritative,
at least for containers like AVI.

More information about the ffmpeg-devel mailing list