Split into legacy (Framework 4.8) and .NET 8 projects, WIP .NET 8 fixes

This commit is contained in:
N00MKRAD
2024-08-12 10:47:19 +02:00
parent 6c406a4846
commit b520d7212d
340 changed files with 50433 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
using System.Collections.Generic;
using static Flowframes.Data.Enums.Encoding;
namespace Flowframes.Data
{
public class EncoderInfoVideo : EncoderInfo
{
public Codec Codec { get; set; } = (Codec)(-1);
public bool? Lossless { get; set; } = false; // True = Lossless Codec; False = Lossy codec with lossless option; null: Lossy with no lossless option
public bool HwAccelerated { get; set; } = false;
public int Modulo { get; set; } = 2;
public int MaxFramerate { get; set; } = 1000;
public List<PixelFormat> PixelFormats { get; set; } = new List<PixelFormat>();
public PixelFormat PixelFormatDefault { get; set; } = (PixelFormat)(-1);
public bool IsImageSequence { get; set; } = false;
public string OverideExtension { get; set; } = "";
public List<string> QualityLevels { get; set; } = new List<string> ();
public int QualityDefault { get; set; } = 0;
public string Name
{
get
{
return FfmpegName.IsEmpty() ? Codec.ToString().Lower() : FfmpegName;
}
set
{
FfmpegName = value;
}
}
}
}