Add gifify

This commit is contained in:
The Magician 2023-11-17 22:05:49 +00:00
commit 6d15394988
1 changed files with 2 additions and 0 deletions

2
gifify Normal file
View File

@ -0,0 +1,2 @@
#!/bin/sh
ffmpeg -ss "$1" -t "$2" -i "$3" -vf "fps=30,scale=650:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 "$4"