FFmpeg converting image sequence to video results in blank video [closed]

Add -vf format=yuv420p (or the alias -pix_fmt yuv420p) as an output option

ffmpeg -framerate 30 -i input_%05d.png -vf format=yuv420p output.mp4

Otherwise ffmpeg will attempt to preserve as much color information as it can, but most players can only decode YUV 4:2:0.

Leave a Comment