Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • That doesnt answer the question though. With 14 answers there already this needed to be spectacular. Commented Jul 29, 2023 at 0:32
  • 1
    @RohitGupta The ffmpeg example in llogan's example doesn't work with ffmpeg 6.0. I get an error about lanczos deprecated or not found.
    – Geremia
    Commented Jul 29, 2023 at 3:11
  • This is a different answer than the others... except that the question specifically asks how to use ffmpeg :-/ But other answers use ImageMagick's convert also, so why not just try convert directly? Well, convert created a 4.3MB gif while ffmpeg created a 420KB gif (from a 95KB mp4), so default convert is 10x larger
    – Xen2050
    Commented May 2 at 6:39