mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-18 01:17:47 +01:00
Split into legacy (Framework 4.8) and .NET 8 projects, WIP .NET 8 fixes
This commit is contained in:
31
Flowframes/Data/EncoderInfoVideo.cs
Normal file
31
Flowframes/Data/EncoderInfoVideo.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user