[FFmpeg-user] incorrect fps and tbr

我是科学家 summerpulse at qq.com
Thu Jul 16 13:05:24 CEST 2015

I hava a AVI file which, according to ffmpeg, has frame rate of 1000. But we know that's incorrect. When I played the movie on a android box, the picture froze while the sound went on.

Here is what ffprobe said about the file:

Input #0, avi, from '6_F16_DUAL_AB[WisMencoder Encoded].avi':
    encoder         : MEncoder Sherpya-SVN-r27081-4.2.3
  Duration: 00:00:43.16, start: 0.000000, bitrate: 7242 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x960 [SAR 1:1 DAR 2:3], SAR 16383:16384 DAR 5461:8192, 1k fps, 1k tbr, 1k tbn, 1k tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 32000 Hz, stereo, s16p, 61 kb/s

When parsing with ffmpeg, st->avg_frame_rate.den and st->avg_frame_rate.num are both zero, and tbr is 0.08.

What are the correct values should st-avg_frame_rate and st->r_frame_rate be?

More information about the ffmpeg-user mailing list