badapple-cc/convert.sh

8 lines
156 B
Bash
Raw Normal View History

2022-12-03 14:12:39 -07:00
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 .