[FFmpeg-devel] [PATCH] qsvenc_{hevc,h264}: add scenario option

Anton Khirnov anton at khirnov.net
Tue Aug 16 13:32:56 EEST 2022


Quoting Xiang, Haihao (2022-08-12 06:52:53)
> +#define QSV_OPTION_SCENARIO \
> +{ "scenario", "A hint to encoder about the scenario for the encoding session", OFFSET(qsv.scenario), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 8, VE, "scenario" },     \

The default should probably be one of the MFX_SCENARIO flags (unknown
makes most sense I suppose) rather than 0.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list