From dfe0311c271b27eef125568543dc042fcab080a9 Mon Sep 17 00:00:00 2001 From: N00MKRAD Date: Wed, 27 Jan 2021 21:26:06 +0100 Subject: [PATCH] Fixed NVENC encoding args --- Code/AudioVideo/FFmpegUtils.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/AudioVideo/FFmpegUtils.cs b/Code/AudioVideo/FFmpegUtils.cs index 6d0b02a..2fb710d 100644 --- a/Code/AudioVideo/FFmpegUtils.cs +++ b/Code/AudioVideo/FFmpegUtils.cs @@ -66,12 +66,12 @@ namespace Flowframes.AudioVideo if (codec == Codec.NVENC264) { - args += $"-crf {Config.GetInt("h264Crf")} -preset default -pix_fmt yuv420p"; + args += $"-cq {Config.GetInt("h264Crf")} -preset slow -pix_fmt yuv420p"; } if (codec == Codec.NVENC265) { - args += $"-crf {Config.GetInt("h265Crf")} -preset default -pix_fmt yuv420p"; + args += $"-cq {Config.GetInt("h265Crf")} -preset slow -pix_fmt yuv420p"; } if (codec == Codec.VP9)