[Ffmpeg-devel] wrong framerate in mpeg4 file?

Luca Ognibene luogni
Fri Sep 23 20:42:34 CEST 2005

Il giorno dom, 18/09/2005 alle 14.54 +0200, Luca Ognibene ha scritto:
> hi!
> I have a problem with some mpeg4 files.
> ffmpeg reports that they have a framerate of 3000fps. 

With this file:
In h263.c:decode_vol_header reads 3000 in time_base.den and set
time_base.num to 1 because get_bits1(gb) returns 0. 
With a older version of ffmpeg the fps reported would be 29.97 but now
it's 3000.

Is 1/3000 a special value? How can i know if time_base is valid or not ?

thanks for your help.


More information about the ffmpeg-devel mailing list