fps=60000/1001
ffmpeg \
-r $fps -i "$1.%01d.png" \
-vf scale=w=800:h=480:sws_flags=neighbor,format=yuv420p \
-g 480 \
-y "$1.mp4"