From 6fadab748d182e73fd9de13f2cee988b58b0a755 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 30 Aug 2020 05:22:52 +0200 Subject: Set ideal qmax value --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index f85dc9b..5c97877 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -461,7 +461,7 @@ static AVStream *add_video_stream(AVFormatContext *av_format_context, AVCodec ** break; case VideoQuality::ULTRA: codec_context->qmin = 16; - codec_context->qmax = 25; + codec_context->qmax = 26; av_opt_set(codec_context->priv_data, "preset", "slow", 0); av_opt_set(codec_context->priv_data, "profile", "high", 0); codec_context->profile = FF_PROFILE_H264_HIGH; -- cgit v1.2.3