mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
574 B
20 lines
574 B
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" |
|
]; |
|
}
|
|
|