[FFmpeg-user] Setting framerate per frame
Carl Eugen Hoyos
ceffmpeg at gmail.com
Mon Mar 5 02:51:50 EET 2018
2018-03-04 21:51 GMT+01:00, Michiel Sikma <michiel at sikma.org>:
> I'm working on a script that converts user made animations into gif files.
> Currently I'm doing the following, which works: https://gist.github.
> com/msikma/8e3fd1ea363216ae2a781503fbb2179a
>
> However, it's not entirely what I want. These animations have user defined
> frame durations. So for example, an animation might have 4 frames, with the
> first three being 40ms long (25 fps), and the last one being 150ms long
> (6.667 fps).
Either duplicate the input images or use the concat demuxer (which
supports frame duration) instead of the image2 demuxer for the input
images.
Carl Eugen
More information about the ffmpeg-user
mailing list