Created
August 27, 2019 18:55
-
-
Save crashGoBoom/26cee53bfbdd95881a036955606067b8 to your computer and use it in GitHub Desktop.
Create a gif from mov file using FFMPEG
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice!