diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-08-30 05:15:56 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-30 05:15:56 +0200 |
commit | d8550f91830312a166097475e783b6f2b346a10e (patch) | |
tree | 4492ffbaa3b64ee0b2039a8bd98e3d805d90aaa5 | |
parent | b193f6fee44aec04852420d24777f511cb7131bc (diff) |
Higher quality for 'high'
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |