Cleanup & UI changes

This commit is contained in:
N00MKRAD
2021-04-04 12:21:58 +02:00
parent 7d98ef7345
commit 0dc9e0ba3c
2 changed files with 2 additions and 8 deletions

View File

@@ -209,8 +209,8 @@
"WEBM Video (Google VP9)",
"MOV Video (Apple ProRes)",
"AVI Video (ffv1, huffyuv, rawvideo)",
"Animated GIF (Not recommended for more than 40 FPS)",
"Image Sequence"});
"Animated GIF (Only supports up to 50 FPS)",
"Image Sequence (PNG)"});
this.outModeCombox.Location = new System.Drawing.Point(281, 157);
this.outModeCombox.Name = "outModeCombox";
this.outModeCombox.Size = new System.Drawing.Size(400, 23);

View File

@@ -123,16 +123,10 @@ namespace Flowframes.Main
if (Interpolate.canceled) return;
if (i >= frameFilesWithoutLast.Length) break;
// if (debug && i == startIndex)
// fileContent += $"# NEW THREAD - {startIndex} to {startIndex + count}\n";
string inputFilenameNoExt = Path.GetFileNameWithoutExtension(frameFilesWithoutLast[i].Name);
int dupesAmount = dupesDict.ContainsKey(inputFilenameNoExt) ? dupesDict[inputFilenameNoExt] : 0;
bool discardThisFrame = (sceneDetection && i < frameFilesWithoutLast.Length && sceneFrames.Contains(Path.GetFileNameWithoutExtension(FrameRename.importFilenames[i + 1]))); // i+2 is in scene detection folder, means i+1 is ugly interp frame
// if (loopEnabled && i == (frameFiles.Length - 2)) // If loop is enabled, account for the extra frame for loop continuity
// interpFramesAmount *= 2;
for (int frm = 0; frm < interpFramesAmount; frm++) // Generate frames file lines
{
if (discardThisFrame) // If frame is scene cut frame