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 <anton@khirnov.net>
This commit is contained in:
Maxym Dmytrychenko 2015-12-18 09:55:13 +01:00 committed by Anton Khirnov
parent 9d74012761
commit a43905f4ae

View File

@ -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" },