ffmpeg: yuv420p pixel format missing?

Use yuv420p

There is no such thing as yuv480p or yuv720p because it is not tied to the video height. yuv420p is a chroma subsampling scheme, and the p stands for planar, not progressive. In ffmpeg yuv420p is called a pixel format.

You can use the format filter, or the legacy -pix_fmt option, to set the pixel format. Example:

ffmpeg -i input.mp4 -vf format=yuv420p output.mp4
  • See a generic list of supported pixel formats with ffmpeg -pix_fmts.
  • See which pixel formats are supported by a specific encoder, such as ffmpeg -h encoder=libx264.