Files
ersatztv/ErsatzTV.FFmpeg/Capabilities/FFmpegKnownEncoder.cs
T
Jason Dove 0489741123 add videotoolbox capabilities (#2239)
* implement videotoolbox hardware capabilities

* add videotoolbox troubleshooting info

* update changelog
2025-08-02 17:16:24 +00:00

21 lines
574 B
C#

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<string> AllEncoders =>
[
"h264_amf",
"hevc_amf",
"h264_videotoolbox",
"hevc_videotoolbox"
];
}