Message ID | 20201105072011.628506-2-haihao.xiang@intel.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,1/2] qsvenc_hevc: allow user set more coding options | expand |
Context | Check | Description |
---|---|---|
andriy/x86_make | success | Make finished |
andriy/x86_make_fate | success | Make fate finished |
andriy/PPC64_make | success | Make finished |
andriy/PPC64_make_fate | success | Make fate finished |
diff --git a/libavcodec/qsvenc_h264.c b/libavcodec/qsvenc_h264.c index ddafc45ec3..e224048442 100644 --- a/libavcodec/qsvenc_h264.c +++ b/libavcodec/qsvenc_h264.c @@ -177,6 +177,7 @@ static const AVCodecDefault qsv_enc_defaults[] = { #if FF_API_PRIVATE_OPT { "b_strategy", "-1" }, #endif + { "strict", "-1" }, { NULL }, }; diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c index aa02361d1d..825df8fbb6 100644 --- a/libavcodec/qsvenc_hevc.c +++ b/libavcodec/qsvenc_hevc.c @@ -272,6 +272,7 @@ static const AVCodecDefault qsv_enc_defaults[] = { #if FF_API_PRIVATE_OPT { "b_strategy", "-1" }, #endif + { "strict", "-1" }, { NULL }, };
User may get better PSNR for the given bitrate for most cases by default and use option '-strict 1' to produce HRD conformant bitstream if required Signed-off-by: Haihao Xiang <haihao.xiang@intel.com> --- libavcodec/qsvenc_h264.c | 1 + libavcodec/qsvenc_hevc.c | 1 + 2 files changed, 2 insertions(+)