badapple-cc/convert.sh
2022-12-03 16:12:39 -05:00

8 lines
156 B
Bash

echo "extracting frames"
mkdir -p png
ffmpeg -i vid.mp4 -vf fps=8 png/%d.png
echo "resizing"
magick mogrify -resize 24x24 png/*.png
echo "packing"
go run .