Skip to content

Commit

Permalink
svt-av1-psy - fixed twopass1 & threepass1
Browse files Browse the repository at this point in the history
Signed-off-by: Lionel DUCHATEAU <lionel.duchateau@free.fr>
  • Loading branch information
Kurtnoise-zeus committed Jan 17, 2025
1 parent e0b7de2 commit 546aa70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/video/svtav1psy/svtav1psyEncoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 + "\"");
Expand Down

0 comments on commit 546aa70

Please sign in to comment.