Fixed NVENC encoding args

This commit is contained in:
N00MKRAD
2021-01-27 21:26:06 +01:00
parent 7c5e1a9b48
commit dfe0311c27

View File

@@ -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)