8 lines
156 B
Bash
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 .
|