mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 08:27:44 +01:00
31 lines
1.1 KiB
C#
31 lines
1.1 KiB
C#
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<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;
|
|
}
|
|
}
|
|
}
|
|
}
|