layer-8/project_files/ffmpeg_gif.sh

2 lines
165 B
Bash
Executable File

#!/bin/bash
ffmpeg -framerate 30 -i frame%04d.png -vf "scale=1319:700:flags=lanczos,split[a][b];[a]palettegen=max_colors=256[p];[b][p]paletteuse" -loop 0 output.gif