mirror of https://github.com/ErsatzTV/ErsatzTV.git
Browse Source
* work around bad h264_cuvid behavior on windows with ffmpeg snapshot * use latest ffmpeg build on windows * nvdec => cudapull/1489/head
7 changed files with 35 additions and 19 deletions
@ -0,0 +1,13 @@ |
|||||||
|
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" |
||||||
|
}; |
||||||
|
} |
Loading…
Reference in new issue