mirror of https://github.com/n00mkrad/flowframes
very minor changes
This commit is contained in:
parent
495b7ccd80
commit
01a688512b
|
@ -8,7 +8,6 @@ using System.Drawing;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Utils = Flowframes.AudioVideo.FFmpegUtils;
|
using Utils = Flowframes.AudioVideo.FFmpegUtils;
|
||||||
|
|
||||||
|
@ -19,7 +18,7 @@ namespace Flowframes
|
||||||
static string hdrFilter = @"-vf select=gte(n\,%frNum%),zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p";
|
static string hdrFilter = @"-vf select=gte(n\,%frNum%),zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p";
|
||||||
|
|
||||||
static string videoEncArgs = "-pix_fmt yuv420p -movflags +faststart";
|
static string videoEncArgs = "-pix_fmt yuv420p -movflags +faststart";
|
||||||
static string divisionFilter = "\"crop = trunc(iw / 2) * 2:trunc(ih / 2) * 2\"";
|
static string divisionFilter = "\"crop=trunc(iw/2)*2:trunc(ih/2)*2\"";
|
||||||
static string pngComprArg = "-compression_level 3";
|
static string pngComprArg = "-compression_level 3";
|
||||||
|
|
||||||
static string mpDecDef = "\"mpdecimate\"";
|
static string mpDecDef = "\"mpdecimate\"";
|
||||||
|
|
|
@ -9,6 +9,6 @@ namespace Flowframes.Data
|
||||||
class Padding
|
class Padding
|
||||||
{
|
{
|
||||||
public const int inputFrames = 9;
|
public const int inputFrames = 9;
|
||||||
public const int interpFrames = 8; // TODO: Maybe modify NCNN to accept padding as arg?
|
public const int interpFrames = 8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,7 +61,7 @@ namespace Flowframes.Main
|
||||||
|
|
||||||
if (paused)
|
if (paused)
|
||||||
{
|
{
|
||||||
Logger.Log("autoenc paused");
|
//Logger.Log("autoenc paused");
|
||||||
await Task.Delay(100);
|
await Task.Delay(100);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue