mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-11 06:59:53 +00:00
FS-11189 add H264 default private configs
This commit is contained in:
parent
515bbdc881
commit
6d6f217a61
@ -1213,6 +1213,12 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
||||
av_opt_set(context->encoder_ctx->priv_data, "preset", "llhp", 0);
|
||||
av_opt_set_int(context->encoder_ctx->priv_data, "2pass", 1, 0);
|
||||
} else {
|
||||
av_opt_set(context->encoder_ctx->priv_data, "preset", "veryfast", 0);
|
||||
av_opt_set(context->encoder_ctx->priv_data, "intra-refresh", "1", 0);
|
||||
av_opt_set(context->encoder_ctx->priv_data, "tune", "animation+zerolatency", 0);
|
||||
av_opt_set(context->encoder_ctx->priv_data, "sc_threshold", "40", 0);
|
||||
av_opt_set(context->encoder_ctx->priv_data, "crf", "18", 0);
|
||||
|
||||
if (profile->options) {
|
||||
switch_event_header_t *hp;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user