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 MaxFramerate { get; set; } = 1000; public List PixelFormats { get; set; } = new List(); public PixelFormat PixelFormatDefault { get; set; } = (PixelFormat)(-1); public bool IsImageSequence { get; set; } = false; public string OverideExtension { get; set; } = ""; public List QualityLevels { get; set; } = new List (); public int QualityDefault { get; set; } = 0; public string Name { get { return FfmpegName.IsEmpty() ? Codec.ToString().Lower() : FfmpegName; } set { FfmpegName = value; } } } }