[FFmpeg-user] looping an animated gif
Michael Koch
astroelectronic at t-online.de
Fri Jul 9 09:59:07 EEST 2021
Am 09.07.2021 um 08:49 schrieb Gyan Doshi:
>
>
> 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.
-ignore_loop 0 did solve the problem.
Thank you!
Michael
More information about the ffmpeg-user
mailing list