Files
ersatztv/ErsatzTV.FFmpeg/Capabilities/FFmpegKnownEncoder.cs
T
Jason DoveandGitHub 5d081ceeff fix editorconfig and run code cleanup (#2324)
* fix formatting rules

* reformat ersatztv

* reformat ersatztv.application

* reformat ersatztv.core

* refactor ersatztv.core.tests

* reformat ersatztv.ffmpeg

* reformat ersatztv.ffmpeg.tests

* reformat ersatztv.infrastructure

* cleanup infra mysql

* cleanup infra sqlite

* cleanup infra tests

* cleanup ersatztv.scanner

* cleanup ersatztv.scanner.tests

* sln cleanup

* update dependencies
2025-08-16 14:44:48 +00:00

20 lines
573 B
C#

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