mirror of https://github.com/ErsatzTV/ErsatzTV.git
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.
17 lines
477 B
17 lines
477 B
namespace ErsatzTV.FFmpeg.Decoder.Cuvid; |
|
|
|
public class DecoderVc1Cuvid : DecoderBase |
|
{ |
|
public override string Name => "vc1_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; |
|
}
|
|
|