From d8550f91830312a166097475e783b6f2b346a10e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 30 Aug 2020 05:15:56 +0200 Subject: Higher quality for 'high' --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index fe00838..f85dc9b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -456,8 +456,8 @@ static AVStream *add_video_stream(AVFormatContext *av_format_context, AVCodec ** codec_context->qmin = 18; codec_context->qmax = 27; av_opt_set(codec_context->priv_data, "preset", "slow", 0); - av_opt_set(codec_context->priv_data, "profile", "baseline", 0); - codec_context->profile = FF_PROFILE_H264_BASELINE; + av_opt_set(codec_context->priv_data, "profile", "high", 0); + codec_context->profile = FF_PROFILE_H264_HIGH; break; case VideoQuality::ULTRA: codec_context->qmin = 16; -- cgit v1.2.3