FFmpeg 2.6.9
Since* 0.7
#

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

It accepts the following parameters:

pix_fmts

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

#

Examples

  • Convert the input video to the yuv420p format

    format=pix_fmts=yuv420p

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

    format=pix_fmts=yuv420p|yuv444p|yuv410p