[FFmpeg-cvslog] qsvenc_hevc: improve the default settings

Maxym Dmytrychenko git at videolan.org
Mon Jan 4 11:31:59 CET 2016


ffmpeg | branch: master | Maxym Dmytrychenko <maxym.dmytrychenko at intel.com> | Fri Dec 18 09:55:13 2015 +0100| [a43905f4ae261bdde87c300901d867b31961f57b] | committer: Anton Khirnov

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 at khirnov.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a43905f4ae261bdde87c300901d867b31961f57b
---

 libavcodec/qsvenc_hevc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c
index 063dd9d..343733b 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"   },



More information about the ffmpeg-cvslog mailing list