[FFmpeg-user] looping an animated gif
Gyan Doshi
ffmpeg at gyani.pro
Fri Jul 9 09:49:27 EEST 2021
On 2021-07-09 12:07, Michael Koch wrote:
> Hello,
>
> I want to overlay an animated gif over a video. The gif must be looped
> because it's much shorter than the video. I did try the "-loop 1"
> option, but I get the error message "Option loop not found". However,
> the loop option works fine for jpg images. How can an animated gif be
> looped?
GIF has a dedicated demuxer. See ffmpeg -h demuxer=gif
There's a boolean option called -ignore loop. You can also apply
-stream_loop.
Regards,
Gyan
More information about the ffmpeg-user
mailing list