[FFmpeg-devel] Incorrect fps on an .mp4 file; sample file provided

Alexander Kanavin alexander.kanavin
Wed Jul 16 17:13:11 CEST 2008


ffmpeg reports an incorrect fps on some .mp4 files I have (they were made 
with Nokia mobile phones):

alex at alex-laptop:~/ffmpeg-checkout-2008-07-10$ ./ffmpeg -i 
FFmpeg version SVN-r14147, Copyright (c) 2000-2008 Fabrice Bellard, et al.
   libavutil version: 49.7.0
   libavcodec version: 51.60.0
   libavformat version: 52.17.0
   libavdevice version: 52.0.0
   built on Jul 10 2008 18:01:31, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/alex/public_html/1209.mp4':
   Duration: 00:00:12.94, start: 0.000000, bitrate: 2439 kb/s
     Stream #0.0(und): Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 
30000.00 tb(r)
     Stream #0.1(und): Audio: mp4a / 0x6134706D, 48000 Hz, mono
Must supply at least one output file

The fps is off by a factor of 2000, the correct fps is about 15. This
breaks for example -framedrop in mplayer. Quicktime reports the fps correctly.

The sample file which you can check yourself is available here:
Can you please inspect the file and check if the file is broken, or there 
is a problem in ffmpeg? Even Flickr has a workaround for this now:


More information about the ffmpeg-devel mailing list