mirror of https://git.ffmpeg.org/ffmpeg.git
libavcodec/qsvenc: Let runtime to set default parameter.
Unset qsv_h264 and qsv_hevc's default settings. Let runtime to decide these parameters, so that it can choose the best parameter and ffmpeg-qsv can keep up with runtime's update. Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
This commit is contained in:
parent
3771d54989
commit
a3c0a3ec60
|
@ -176,9 +176,8 @@ static const AVClass class = {
|
||||||
static const FFCodecDefault qsv_enc_defaults[] = {
|
static const FFCodecDefault qsv_enc_defaults[] = {
|
||||||
{ "b", "1M" },
|
{ "b", "1M" },
|
||||||
{ "refs", "0" },
|
{ "refs", "0" },
|
||||||
// same as the x264 default
|
{ "g", "-1" },
|
||||||
{ "g", "250" },
|
{ "bf", "-1" },
|
||||||
{ "bf", "3" },
|
|
||||||
{ "qmin", "-1" },
|
{ "qmin", "-1" },
|
||||||
{ "qmax", "-1" },
|
{ "qmax", "-1" },
|
||||||
{ "trellis", "-1" },
|
{ "trellis", "-1" },
|
||||||
|
|
|
@ -289,8 +289,7 @@ static const AVClass class = {
|
||||||
static const FFCodecDefault qsv_enc_defaults[] = {
|
static const FFCodecDefault qsv_enc_defaults[] = {
|
||||||
{ "b", "1M" },
|
{ "b", "1M" },
|
||||||
{ "refs", "0" },
|
{ "refs", "0" },
|
||||||
// same as the x264 default
|
{ "g", "-1" },
|
||||||
{ "g", "248" },
|
|
||||||
{ "bf", "-1" },
|
{ "bf", "-1" },
|
||||||
{ "qmin", "-1" },
|
{ "qmin", "-1" },
|
||||||
{ "qmax", "-1" },
|
{ "qmax", "-1" },
|
||||||
|
|
Loading…
Reference in New Issue