[FFmpeg-devel] [PATCH 1/3] lavf/qsv_vpp: add frame format option

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri May 31 23:43:24 EEST 2019


Am Fr., 31. Mai 2019 um 10:01 Uhr schrieb Zhong Li <zhong.li at intel.com>:

> @@ -104,6 +109,8 @@ static const AVOption options[] = {
>      { "width",  "Output video width",  OFFSET(ow), AV_OPT_TYPE_STRING, { .str="cw" }, 0, 255, .flags = FLAGS },
>      { "h",      "Output video height", OFFSET(oh), AV_OPT_TYPE_STRING, { .str="w*ch/cw" }, 0, 255, .flags = FLAGS },
>      { "height", "Output video height", OFFSET(oh), AV_OPT_TYPE_STRING, { .str="w*ch/cw" }, 0, 255, .flags = FLAGS },
> +    { "format", "Output pixel format", OFFSET(output_format_str), AV_OPT_TYPE_STRING, { .str = "same" }, .flags = FLAGS },

AV_OPT_TYPE_PIXEL_FMT?
Or do I miss something?

Carl Eugen


More information about the ffmpeg-devel mailing list