Skip to content

Instantly share code, notes, and snippets.

@jakoblind
Created March 5, 2018 10:31
Show Gist options
  • Save jakoblind/cef21d64d95c7dfb2be1bbdf2a592064 to your computer and use it in GitHub Desktop.
Save jakoblind/cef21d64d95c7dfb2be1bbdf2a592064 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