diff --git a/Code/IO/Config.cs b/Code/IO/Config.cs index 1b43227..7afea8e 100644 --- a/Code/IO/Config.cs +++ b/Code/IO/Config.cs @@ -284,6 +284,7 @@ namespace Flowframes.IO allowSymlinkEncoding, allowSymlinkImport, autoDedupFrames, + autoEncBackup, autoEncDebug, autoEncMode, autoEncSafeBufferFlavrCuda, diff --git a/Code/Main/CreateVideo.cs b/Code/Main/CreateVideo.cs index 3e5c28c..a146463 100644 --- a/Code/Main/CreateVideo.cs +++ b/Code/Main/CreateVideo.cs @@ -163,6 +163,9 @@ namespace Flowframes.Main public static async Task ChunksToVideos(string tempFolder, string chunksFolder, string baseOutPath, bool isBackup = false) { + if (isBackup && !Config.GetBool(Config.Key.autoEncBackup)) + return; + if (IOUtils.GetAmountOfFiles(chunksFolder, true, "*" + FFmpegUtils.GetExt(I.current.outMode)) < 1) { I.Cancel("No video chunks found - An error must have occured during chunk encoding!", AiProcess.hasShownError);