mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 08:27:44 +01:00
NCNN VS UI polish
This commit is contained in:
@@ -101,7 +101,9 @@ namespace Flowframes
|
||||
|
||||
if (canceled) return;
|
||||
|
||||
Program.mainForm.SetStatus("Running real-time interpolation...");
|
||||
await AiProcess.RunRifeNcnnVs(currentSettings.framesFolder, "", currentSettings.interpFactor, currentSettings.model.Dir, true);
|
||||
Program.mainForm.SetStatus("Ready");
|
||||
Program.mainForm.SetWorking(false);
|
||||
}
|
||||
|
||||
@@ -208,7 +210,6 @@ namespace Flowframes
|
||||
if (canceled) return;
|
||||
|
||||
currentlyUsingAutoEnc = Utils.CanUseAutoEnc(stepByStep, currentSettings);
|
||||
|
||||
IoUtils.CreateDir(outpath);
|
||||
|
||||
List<Task> tasks = new List<Task>();
|
||||
|
||||
@@ -366,13 +366,8 @@ namespace Flowframes.Os
|
||||
{
|
||||
IoUtils.CreateDir(outPath);
|
||||
Process rifeNcnnVs = OsUtils.NewProcess(!OsUtils.ShowHiddenCmd());
|
||||
|
||||
Logger.Log($"Note: RIFE-NCNN-VS is experimental and may not work as expected with certain Flowframes features, such as image sequence exporting.");
|
||||
|
||||
string avDir = Path.Combine(Paths.GetPkgPath(), Paths.audioVideoDir);
|
||||
|
||||
string pipedTargetArgs = $"{Path.Combine(avDir, "ffmpeg").Wrap()} -y {await Export.GetPipedFfmpegCmd(rt)}";
|
||||
|
||||
string pkgDir = Path.Combine(Paths.GetPkgPath(), Implementations.rifeNcnnVs.PkgDir);
|
||||
int gpuId = Config.Get(Config.Key.ncnnGpus).Split(',')[0].GetInt();
|
||||
|
||||
@@ -395,7 +390,7 @@ namespace Flowframes.Os
|
||||
|
||||
if (rt)
|
||||
{
|
||||
Logger.Log($"Starting. Use Space to pause, Left Arrow and Right Arrow to seek, albeit seeking takes some time.");
|
||||
Logger.Log($"Starting. Use Space to pause, Left Arrow and Right Arrow to seek, though seeking can be slow.");
|
||||
AiStartedRt(rifeNcnnVs, inPath);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user