diff options
author | Ovchinnikov Dmitrii <ovchinnikov.dmitrii@gmail.com> | 2021-03-09 22:05:07 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-03-09 16:14:05 -0300 |
commit | 1a549efefb590a83b2516dfd287dbda4e8d6b846 (patch) | |
tree | 22ed01091e76c9968ff114fe59cf89766aee4855 /libavcodec | |
parent | 295f32ec98eeba3a4892a635ba088ec21c25b388 (diff) | |
download | ffmpeg-1a549efefb590a83b2516dfd287dbda4e8d6b846.tar.gz |
libavcodec/amfenc_hevc: Recommend values for min and max video quantizer scale.
Current settings makes bitrate larger than expected, more information:
https://github.com/HandBrake/HandBrake/issues/3447#issue-820490736
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/amfenc_hevc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/amfenc_hevc.c b/libavcodec/amfenc_hevc.c index bb224c5fec..a1225c09e3 100644 --- a/libavcodec/amfenc_hevc.c +++ b/libavcodec/amfenc_hevc.c @@ -298,6 +298,8 @@ static const AVCodecDefault defaults[] = { { "b", "2M" }, { "g", "250" }, { "slices", "1" }, + { "qmin", "-1" }, + { "qmax", "-1" }, { NULL }, }; static const AVClass hevc_amf_class = { |