[FFmpeg-devel] [PATCH 03/10] lavc/libopenh264enc: add default gop size and bit rate
Linjie Fu
linjie.fu at intel.com
Mon Apr 6 14:14:46 EEST 2020
Signed-off-by: Linjie Fu <linjie.fu at intel.com>
---
libavcodec/libopenh264enc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/libopenh264enc.c b/libavcodec/libopenh264enc.c
index c7ae5b1..3ff5be7 100644
--- a/libavcodec/libopenh264enc.c
+++ b/libavcodec/libopenh264enc.c
@@ -335,6 +335,8 @@ static int svc_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
}
static const AVCodecDefault svc_enc_defaults[] = {
+ { "b", "2M" },
+ { "g", "120" },
{ "qmin", "-1" },
{ "qmax", "-1" },
{ NULL },
--
2.7.4
More information about the ffmpeg-devel
mailing list