mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-09-01 19:51:28 +02:00
Fixed bad ffmpeg encoding for 4x/8x, fixed autoenc option, minor ux improv
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@ namespace Flowframes.Main
|
||||
passes = false;
|
||||
}
|
||||
if (!passes)
|
||||
i.Cancel("Invalid settings detected.");
|
||||
i.Cancel("Invalid settings detected.", true);
|
||||
return passes;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user