Created
September 30, 2017 13:57
-
-
Save vikas-0/f98653de79e854e74d2de8962250d583 to your computer and use it in GitHub Desktop.
Script to convert webm to animated gif
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
ffmpeg -y -i $1 -vf palettegen /tmp/palette.png | |
ffmpeg -y -i $1 -i /tmp/palette.png -filter_complex paletteuse -r 10 $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment