namespace ErsatzTV.FFmpeg.Capabilities; public record FFmpegKnownEncoder { private FFmpegKnownEncoder(string Name) => this.Name = Name; public string Name { get; } public static readonly FFmpegKnownEncoder H264VideoToolbox = new("h264_videotoolbox"); public static readonly FFmpegKnownEncoder HevcVideoToolbox = new("hevc_videotoolbox"); // only list the encoders that we actually check for public static IList AllEncoders => [ "h264_amf", "hevc_amf", "h264_videotoolbox", "hevc_videotoolbox" ]; }