Initial AmiReel application
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace AmigaDB.VideoRenderer.Models;
|
||||
|
||||
public sealed record AppSettings(
|
||||
string OutputFolder,
|
||||
string EndCardPath,
|
||||
string FfmpegPath,
|
||||
string FfprobePath,
|
||||
string Theme)
|
||||
{
|
||||
public static AppSettings Default(string outputFolder) => new(outputFolder, "", "", "", "Dark");
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
namespace AmigaDB.VideoRenderer.Models;
|
||||
|
||||
public enum EncoderMode
|
||||
{
|
||||
Auto,
|
||||
NvidiaNvenc,
|
||||
CpuX264
|
||||
}
|
||||
|
||||
public sealed record RenderSettings(
|
||||
IReadOnlyList<string> InputFiles,
|
||||
string EndCardPath,
|
||||
string OutputDirectory,
|
||||
string OutputName,
|
||||
string FfmpegPath,
|
||||
string FfprobePath,
|
||||
EncoderMode Encoder,
|
||||
double TrimStart,
|
||||
double FadeSeconds,
|
||||
double EndCardHoldSeconds,
|
||||
int ThumbnailInterval,
|
||||
int Width = 3840,
|
||||
int Height = 2160,
|
||||
int FramesPerSecond = 50,
|
||||
int ThumbnailWidth = 1280,
|
||||
int ThumbnailHeight = 720);
|
||||
|
||||
public sealed record RenderProgress(double Percent, string Stage, string Message);
|
||||
Reference in New Issue
Block a user