@ -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"