mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-05 20:39:33 +00:00
FS-8977: tweak nvenc params
This commit is contained in:
parent
9dddc0fe39
commit
fdd81dcc82
@ -923,7 +923,8 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
||||
context->encoder_ctx->level = 41;
|
||||
|
||||
if (context->hw_encoder) {
|
||||
av_opt_set(context->encoder_ctx->priv_data, "preset", "llhq", 0);
|
||||
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, "tune", "zerolatency", 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user