[FFmpeg-trac] #2499(avformat:closed): gif -> mp4: wrong timestamps / duration

FFmpeg trac at avcodec.org
Wed Apr 24 23:51:42 CEST 2013


#2499: gif -> mp4: wrong timestamps / duration
-------------------------------------+-------------------------------------
             Reporter:  sgehlich     |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  avformat
              Version:  unspecified  |               Resolution:  duplicate
             Keywords:  fps          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by cehoyos):

 But if you encode to mov, you have to choose a constant frame rate because
 the mov muxer only supports constant frame rate (if you do not select it
 yourself with -vf fps, ffmpeg will automatically choose a constant frame
 rate as if you selected "-r" leading to the bad timestamps that you
 observed).
 Or in other words: The output file in your command line also has constant
 frame rate (but with incorrect / displaced frame duplication). You can
 immediately see that when looking at the console output.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2499#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list