/usr/bin/ffmpeg -i %04d.png -vcodec libx264 -profile:v main -pix_fmt yuv420p -level 3.1 -preset medium -crf 23 -x264-params ref=4 output.mp4