Files
ersatztv/ErsatzTV.FFmpeg/Capabilities/FFmpegKnownEncoder.cs
T
Jason DoveandGitHub 307b9dadd2 partial v4l2m2m accel support (#2416)
* start to add v4l2m2m accel

* add v4l2m2m pipeline

* add encoders

* fix decoders and encoders

* output software frames from decoders

* more buffers

* hide v4l2m2m from ui
2025-09-14 11:48:24 +00:00

22 lines
621 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_v4l2m2m",
"hevc_v4l2m2m",
"h264_videotoolbox",
"hevc_videotoolbox"
];
}