Higher quality for 'high'
This commit is contained in:
parent
b193f6fee4
commit
d8550f9183
@ -456,8 +456,8 @@ static AVStream *add_video_stream(AVFormatContext *av_format_context, AVCodec **
|
|||||||
codec_context->qmin = 18;
|
codec_context->qmin = 18;
|
||||||
codec_context->qmax = 27;
|
codec_context->qmax = 27;
|
||||||
av_opt_set(codec_context->priv_data, "preset", "slow", 0);
|
av_opt_set(codec_context->priv_data, "preset", "slow", 0);
|
||||||
av_opt_set(codec_context->priv_data, "profile", "baseline", 0);
|
av_opt_set(codec_context->priv_data, "profile", "high", 0);
|
||||||
codec_context->profile = FF_PROFILE_H264_BASELINE;
|
codec_context->profile = FF_PROFILE_H264_HIGH;
|
||||||
break;
|
break;
|
||||||
case VideoQuality::ULTRA:
|
case VideoQuality::ULTRA:
|
||||||
codec_context->qmin = 16;
|
codec_context->qmin = 16;
|
||||||
|
Loading…
Reference in New Issue
Block a user