Skip to content

Instantly share code, notes, and snippets.

@crashGoBoom
Created August 27, 2019 18:55
Show Gist options
  • Save crashGoBoom/26cee53bfbdd95881a036955606067b8 to your computer and use it in GitHub Desktop.
Save crashGoBoom/26cee53bfbdd95881a036955606067b8 to your computer and use it in GitHub Desktop.
Create a gif from mov file using FFMPEG
_video_file="${1}"
ffmpeg -i $_video_file -vf palettegen pal.png
ffmpeg -i $_video_file -i pal.png -lavfi paletteuse=bayer_scale=4:dither=bayer -r 18 video.gif
@statik
Copy link

statik commented Aug 27, 2019

nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment