Files
ersatztv/ErsatzTV.FFmpeg/Capabilities/FFmpegKnownEncoder.cs
T
d855e4f20d Add initial support for Rockchip Media Process Platform (rkmpp) hardware acceleration (#2418)
* Add Rockchip Media Process Platform (rkmpp) acceleration

* remove fourcc stuff; it's exclusive to videotoolbox

* update changelog

---------

Co-authored-by: Jason Dove <1695733+jasongdove@users.noreply.github.com>
2025-09-16 00:51:56 +00:00

24 lines
665 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",
"h264_rkmpp",
"hevc_rkmpp"
];
}