Created
June 17, 2022 22:29
-
-
Save camertron/f947c3888bfdee5290bc9ffca59efb0e to your computer and use it in GitHub Desktop.
Easily create a 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
#!/bin/bash | |
# Usage: gifify.sh <input file> <output file> | |
ffmpeg -i $1 -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment