FFmpeg 2.2.16
Since* 0.7
#

Convert the input video to one of the specified pixel formats. Libavfilter will try to pick one that is supported for the input to the next filter.

This filter accepts the following parameters:

pix_fmts

A ’|’-separated list of pixel format names, for example "pix_fmts=yuv420p|monow|rgb24".

#

Examples

  • Convert the input video to the format yuv420p

    format=pix_fmts=yuv420p

    Convert the input video to any of the formats in the list

    format=pix_fmts=yuv420p|yuv444p|yuv410p