* work around bad h264_cuvid behavior on windows with ffmpeg snapshot * use latest ffmpeg build on windows * nvdec => cuda
14 lines
415 B
C#
14 lines
415 B
C#
namespace ErsatzTV.FFmpeg.Decoder.Cuvid;
|
|
|
|
public class DecoderImplicitCuda : DecoderBase
|
|
{
|
|
protected override FrameDataLocation OutputFrameDataLocation => FrameDataLocation.Hardware;
|
|
public override string Name => string.Empty;
|
|
public override IList<string> InputOptions(InputFile inputFile) =>
|
|
new List<string>
|
|
{
|
|
"-hwaccel_output_format",
|
|
"cuda"
|
|
};
|
|
}
|