|
|
|
@ -70,15 +70,15 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|
|
|
|
|
|
|
|
|
var codecMap = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
|
|
|
|
|
{
|
|
|
|
|
{"qsv", hwEncoder + "_qsv"},
|
|
|
|
|
{hwEncoder + "_qsv", hwEncoder + "_qsv"},
|
|
|
|
|
{"nvenc", hwEncoder + "_nvenc"},
|
|
|
|
|
{"amf", hwEncoder + "_amf"},
|
|
|
|
|
{"omx", hwEncoder + "_omx"},
|
|
|
|
|
{hwEncoder + "_v4l2m2m", hwEncoder + "_v4l2m2m"},
|
|
|
|
|
{"mediacodec", hwEncoder + "_mediacodec"},
|
|
|
|
|
{"vaapi", hwEncoder + "_vaapi"},
|
|
|
|
|
{"videotoolbox", hwEncoder + "_videotoolbox"}
|
|
|
|
|
{ "qsv", hwEncoder + "_qsv" },
|
|
|
|
|
{ hwEncoder + "_qsv", hwEncoder + "_qsv" },
|
|
|
|
|
{ "nvenc", hwEncoder + "_nvenc" },
|
|
|
|
|
{ "amf", hwEncoder + "_amf" },
|
|
|
|
|
{ "omx", hwEncoder + "_omx" },
|
|
|
|
|
{ hwEncoder + "_v4l2m2m", hwEncoder + "_v4l2m2m" },
|
|
|
|
|
{ "mediacodec", hwEncoder + "_mediacodec" },
|
|
|
|
|
{ "vaapi", hwEncoder + "_vaapi" },
|
|
|
|
|
{ "videotoolbox", hwEncoder + "_videotoolbox" }
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrEmpty(hwType)
|
|
|
|
|