From a43905f4ae261bdde87c300901d867b31961f57b Mon Sep 17 00:00:00 2001 From: Maxym Dmytrychenko Date: Fri, 18 Dec 2015 09:55:13 +0100 Subject: qsvenc_hevc: improve the default settings Use 8 B-frames and modify the GOP size to be a multiple of the B-frame count. Signed-off-by: Anton Khirnov --- libavcodec/qsvenc_hevc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/qsvenc_hevc.c') diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c index 063dd9d718..343733bdbe 100644 --- a/libavcodec/qsvenc_hevc.c +++ b/libavcodec/qsvenc_hevc.c @@ -240,8 +240,8 @@ static const AVCodecDefault qsv_enc_defaults[] = { { "b", "1M" }, { "refs", "0" }, // same as the x264 default - { "g", "250" }, - { "bf", "3" }, + { "g", "248" }, + { "bf", "8" }, { "flags", "+cgop" }, { "b_strategy", "-1" }, -- cgit v1.2.3