updating where -strict -2 is added

This commit is contained in:
John Andrews
2022-07-25 09:08:00 +12:00
parent 3bc1acb420
commit 56bfec92e2
2 changed files with 4 additions and 1 deletions
+4
View File
@@ -40,7 +40,11 @@ namespace FileFlows.VideoNodes
if (dontAddOutputFile == false)
{
if (arguments.Last() != "-")
{
// strict -2 needs to be just before the output file
arguments.AddRange(new[] { "-strict", "-2" }); // allow experimental stuff
arguments.Add(output);
}
else
Logger.ILog("Last argument '-' skipping adding output file");
}
@@ -104,7 +104,6 @@ namespace FileFlows.VideoNodes.FfmpegBuilderNodes
else
model.InputFiles[0] = args.WorkingFile;
startArgs.AddRange(new[] { "-strict", "-2" }); // allow experimental stuff
startArgs.AddRange(new[] { "-fflags", "+genpts" }); //Generate missing PTS if DTS is present.
startArgs.AddRange(new[] {