Fixed bad ffmpeg encoding for 4x/8x, fixed autoenc option, minor ux improv

This commit is contained in:
N00MKRAD
2020-12-06 20:29:47 +01:00
parent ffe669280e
commit 4d2da35727
4 changed files with 8 additions and 6 deletions

View File

@@ -170,8 +170,10 @@ namespace Flowframes
public static async Task RunAi(string outpath, int targetFrames, int tilesize, AI ai)
{
if(Config.GetInt("autoEncMode") > 0)
if (Config.GetInt("autoEncMode") > 0)
currentlyUsingAutoEnc = IOUtils.GetAmountOfFiles(currentFramesPath, false) * lastInterpFactor >= (AutoEncode.chunkSize + AutoEncode.safetyBufferFrames) * 1.1f;
else
currentlyUsingAutoEnc = false;
Directory.CreateDirectory(outpath);

View File

@@ -138,7 +138,7 @@ namespace Flowframes.Main
passes = false;
}
if (!passes)
i.Cancel("Invalid settings detected.");
i.Cancel("Invalid settings detected.", true);
return passes;
}