Fixed redundant loglevel ffmpeg arg, removed 'shortest' arg from muxing cmd

This commit is contained in:
N00MKRAD
2021-03-02 15:06:44 +01:00
parent b3928b60bb
commit 32965b4733
5 changed files with 43 additions and 19 deletions

View File

@@ -47,7 +47,7 @@ namespace Flowframes
string ext = Path.GetExtension(inputFile);
float val = newSpeedPercent / 100f;
string speedVal = (1f / val).ToString("0.0000").Replace(",", ".");
string args = " -itsscale " + speedVal + " -i \"" + inputFile + "\" -c copy \"" + pathNoExt + "-" + newSpeedPercent + "pcSpeed" + ext + "\"";
string args = " -itsscale " + speedVal + " -i \"" + inputFile + "\" -c copy \"" + pathNoExt + "-" + newSpeedPercent + "pcSpeed" + ext + "\"";
await RunFfmpeg(args, LogMode.OnlyLastLine);
if (delSrc)
DeleteSource(inputFile);