[FFmpeg-user] How to choose pixfmt output for video generator

Paul B Mahol onemda at gmail.com
Thu Oct 11 14:18:21 EEST 2018

On 10/9/18, Martin Vignali <martin.vignali at gmail.com> wrote:
> Hello,
> I would like to use a generator for testing
> Some generator, seems to have several pix fmt supported, but can't find the
> way to choose one
> For example allyuv seems to support yuv444p, gbrp
> ./ffmpeg -f lavfi -i allyuv=rate=5:duration=1 -pix_fmt yuv444p -f null -
> -loglevel debug
> ==> Output yuv444p
> ./ffmpeg -f lavfi -i allyuv=rate=5:duration=1 -pix_fmt gbrp -f null -
> -loglevel debug
> ==> Following log, seems to output yuv444p then convert to gbrp

allyuv supports only yuv444p,

on other hand yuvtestsrc supports more yuv format, for more info consult source.

More information about the ffmpeg-user mailing list