Created
March 29, 2020 00:24
-
-
Save coderbyheart/d9e58e9f6da8b72cbf86a36abfa0d1a9 to your computer and use it in GitHub Desktop.
webm2gif
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
#!/bin/bash | |
ffmpeg -y -i $1 -vf palettegen palette.png | |
ffmpeg -y -i $1 -i palette.png -filter_complex paletteuse -r 10 $1.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment