Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Hecatoncheir/9660bfcc178ef2d8248272357ea81c1f to your computer and use it in GitHub Desktop.
Save Hecatoncheir/9660bfcc178ef2d8248272357ea81c1f to your computer and use it in GitHub Desktop.
ffmpeg -y -i video.webm -vf palettegen palette.png
ffmpeg -y -i video.webm -i palette.png -filter_complex paletteuse -r 10 animation.gif
Source: http://www.ubuntubuzz.com/2017/08/convert-mp4-webm-video-to-gif-using-ffmpeg.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment