[FFmpeg-trac] #6302(ffmpeg:closed): gif frame delay dropped from last frame when output to webm

FFmpeg trac at avcodec.org
Tue Apr 11 17:14:05 EEST 2017


#6302: gif frame delay dropped from last frame when output to webm
------------------------------------+-------------------------------------
             Reporter:  okor        |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  important   |                Component:  ffmpeg
              Version:  git-master  |               Resolution:  duplicate
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-------------------------------------
Changes (by okor):

 * priority:  normal => important
 * component:  undetermined => ffmpeg


Comment:

 Thank you for responding : )

 I did find some other similar bug reports which mentioned `-vsync cfr` as
 a potential work around (for googlers: `ffmpeg -i input.gif -r 15 -vsync
 cfr ouput.webm` is what I used). But that only works if you know what your
 frame rate should be which we will not. We also don't want to make the
 video any larger in file size than it needs to be so the video should use
 the lowest frame rate it can for the content ... but if the gif is 60fps
 then that's what ffmpeg should do. It also takes between 5-24x time to
 process vs without a fixed frame rate ... as long as 48seconds for a 2
 frame source gif. In our case that won't work as we are using ffmpeg
 behind a web request.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6302#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list