[FFmpeg-cvslog] avcodec/libsvtav1: fine tune qp mode settings
James Almer
git at videolan.org
Sun Mar 13 20:30:05 EET 2022
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Mar 13 15:17:40 2022 -0300| [50bc87263576c01d711007fdc103cf24bf05c5ce] | committer: James Almer
avcodec/libsvtav1: fine tune qp mode settings
As requested in https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/1829
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=50bc87263576c01d711007fdc103cf24bf05c5ce
---
libavcodec/libsvtav1.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c
index 7fbc125deb..27ff882773 100644
--- a/libavcodec/libsvtav1.c
+++ b/libavcodec/libsvtav1.c
@@ -188,11 +188,10 @@ static int config_enc_params(EbSvtAv1EncConfiguration *param,
if (svt_enc->crf > 0) {
param->qp = svt_enc->crf;
param->rate_control_mode = 0;
- param->enable_tpl_la = 1;
} else if (svt_enc->qp > 0) {
param->qp = svt_enc->qp;
param->rate_control_mode = 0;
- param->enable_tpl_la = 0;
+ param->enable_adaptive_quantization = 0;
}
#if SVT_AV1_CHECK_VERSION(0, 9, 1)
More information about the ffmpeg-cvslog
mailing list