-
-
Save statik/d7f71e0ea38c17917955d7e7d9c8d6ab 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