This commit is contained in:
Brooke Vibber 2022-12-04 15:18:51 -08:00
commit a4679a5a14
4 changed files with 24 additions and 4 deletions

12
gif.sh Executable file
View file

@ -0,0 +1,12 @@
fps=60000/1001
ffmpeg \
-r $fps -i "$1.%01d.png" \
-vf palettegen \
-y "$1.palette.png" \
&& \
ffmpeg \
-r $fps -i "$1.%01d.png" \
-i "$1.palette.png" \
-lavfi paletteuse \
-y "$1.gif"