Stream custom live channels using your own media
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.
 
 
 
 

18 lines
482 B

namespace ErsatzTV.FFmpeg.Decoder.Cuvid;
public class DecoderMpeg4Cuvid : DecoderBase
{
public override string Name => "mpeg4_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;
}