[FFmpeg-trac] #2499(avformat:new): gif -> mp4: wrong timestamps / duration
FFmpeg
trac at avcodec.org
Wed Apr 24 19:52:41 CEST 2013
#2499: gif -> mp4: wrong timestamps / duration
-------------------------------------+-------------------------------------
Reporter: sgehlich | Type: defect
Status: new | Priority: normal
Component: avformat | Version:
Keywords: gif, mp4, | unspecified
muxer | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
When converting .GIFs with different frame durations, the mp4 muxer (same
with mpeg2) generates a wrong video with wrong frame durations.
first frame is rendered with default duration
second frame is rendered with the duration the first frame should have
third frame is rendered with the duratino the second frame should have
etc.
How to reproduce:
{{{
% wget http://forgif.me/system/image/4759/image.gif
% ffmpeg -i image.gif -pix_fmt yuv420p ghost.mp4
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2499>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list