mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-07-11 13:02:56 +02:00
Cleanup & UI changes
This commit is contained in:
4
Code/Form1.Designer.cs
generated
4
Code/Form1.Designer.cs
generated
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user