[FFmpeg-devel] [PATCH] lavc/qsvenc_hevc: use open GOP by default

Xiang, Haihao haihao.xiang at intel.com
Thu Oct 6 10:51:01 EEST 2022


From: Haihao Xiang <haihao.xiang at intel.com>

HEVC spec has CRA frame which allows random access with open GOP, hence
it can achieve higher compression efficiency.

Signed-off-by: Haihao Xiang <haihao.xiang at intel.com>
---
 libavcodec/qsvenc_hevc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c
index a5bf915954..ba83987151 100644
--- a/libavcodec/qsvenc_hevc.c
+++ b/libavcodec/qsvenc_hevc.c
@@ -294,7 +294,7 @@ static const FFCodecDefault qsv_enc_defaults[] = {
     { "qmin",      "-1"    },
     { "qmax",      "-1"    },
     { "trellis",   "-1"    },
-    { "flags",     "+cgop" },
+    { "flags",     "-cgop" },
     { NULL },
 };
 
-- 
2.17.1



More information about the ffmpeg-devel mailing list