18 lines
479 B
C#
18 lines
479 B
C#
namespace ErsatzTV.FFmpeg.Decoder.Cuvid;
|
|
|
|
public class DecoderHevcCuvid : DecoderBase
|
|
{
|
|
public override string Name => "hevc_cuvid";
|
|
public override IList<string> InputOptions(InputFile inputFile)
|
|
{
|
|
IList<string> result = base.InputOptions(inputFile);
|
|
|
|
result.Add("-hwaccel_output_format");
|
|
result.Add("cuda");
|
|
|
|
return result;
|
|
}
|
|
|
|
protected override FrameDataLocation OutputFrameDataLocation => FrameDataLocation.Hardware;
|
|
}
|