You can also specify a number, which will loop the GIF that many times. In this example, the -loop 0 option tells FFmpeg to loop the GIF forever. The -loop option takes a number as a parameter, which specifies the number of times the GIF should loop: ffmpeg -i input.mp4 -loop 0 looped.gif To create a looping GIF, we can use the -loop option. It is also common to see GIFs that loop over and over again. The FFmpeg command above converts the mp4 video to a GIF starting at the 5 second mark and lasting for 2 seconds.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |