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

2022-08-16 Thread Xiang, Haihao
On Tue, 2022-08-16 at 12:32 +0200, Anton Khirnov wrote: > 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, > > "scenar

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

2022-08-16 Thread Anton Khirnov
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_SCEN

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

2022-08-11 Thread Xiang, Haihao
From: Haihao Xiang User may get better experience after providing corresponding senario hint to encoder for the encoding session. See [1] for scenario support in the SDK [1]https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#scenarioinfo --- doc/encoders.texi| 30