diff --git a/packages/video/svtav1psy/svtav1psyEncoder.cs b/packages/video/svtav1psy/svtav1psyEncoder.cs index 0e03fb7..ca4d0a9 100644 --- a/packages/video/svtav1psy/svtav1psyEncoder.cs +++ b/packages/video/svtav1psy/svtav1psyEncoder.cs @@ -207,7 +207,8 @@ public static string genCommandline(string input, string output, Dar? d, int hre if (log != null) { // input/output - if (xs.FFV1EncodingType == VideoCodecSettings.FFV1EncodingMode.twopass1) + if (xs.VideoEncodingType == VideoCodecSettings.VideoEncodingMode.twopass1 + || xs.VideoEncodingType == VideoCodecSettings.VideoEncodingMode.threepass1) sb.Append("-f null NUL "); else if (!String.IsNullOrEmpty(output)) sb.Append("-b " + "\"" + output + "\"");