add scripts

This commit is contained in:
Crispy 2022-05-08 22:09:16 +02:00
parent 3ed377af16
commit 36c1bfed25
11 changed files with 135 additions and 1 deletions

6
scripts/ffgif.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
echo making gif from $1
echo
ffmpeg -i $1 -filter_complex "[0:v] palettegen" $1.palette.png
ffmpeg -i $1 -i $1.palette.png -filter_complex "[0:v][1:v] paletteuse" $1.gif
rm $1.palette.png