mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2025-12-30 23:09:31 -06:00
removing vaapi from output format for first decoder test
This commit is contained in:
@@ -22,7 +22,7 @@ public class VaapiAdjustments : IEncoderAdjustment
|
||||
/// <returns>the adjusted arguments</returns>
|
||||
public List<string> Run(ILogger logger, List<string> args)
|
||||
{
|
||||
logger.ILog("Original VAAPI parameters: \n" + string.Join("\n", args));
|
||||
//logger.ILog("Original VAAPI parameters: \n" + string.Join("\n", args));
|
||||
int iIndex = args.IndexOf("-i");
|
||||
if (iIndex >= 0 && VaapiHelper.VaapiLinux)
|
||||
{
|
||||
@@ -115,7 +115,7 @@ public class VaapiAdjustments : IEncoderAdjustment
|
||||
// if(filterV0 > 0 && filterV0 < args.Count - 1 && args[filterV0 + 1].StartsWith("-"))
|
||||
// args.RemoveAt(filterV0);
|
||||
|
||||
logger.ILog("Updated VAAPI parameters: \n" + string.Join("\n", args));
|
||||
//logger.ILog("Updated VAAPI parameters: \n" + string.Join("\n", args));
|
||||
return args;
|
||||
}
|
||||
}
|
||||
@@ -447,6 +447,7 @@ public class FfmpegBuilderExecutor: FfmpegBuilderNode
|
||||
//noQsv ? null : new [] { "-hwaccel", "qsv", "-hwaccel_output_format", "p010le" },
|
||||
noQsv ? null : new [] { "-hwaccel", "qsv", "-hwaccel_output_format", "qsv" },
|
||||
noQsv ? null : new [] { "-hwaccel", "qsv" },
|
||||
noVaapi ? null : new [] { "-hwaccel", "vaapi" },
|
||||
noVaapi ? null : new [] { "-hwaccel", "vaapi", "-hwaccel_output_format", "vaapi" },
|
||||
noVulkan ? null : new [] { "-hwaccel", "vulkan", "-hwaccel_output_format", "vulkan" },
|
||||
noDxva2 ? null : new [] { "-hwaccel", "dxva2" },
|
||||
@@ -487,6 +488,7 @@ public class FfmpegBuilderExecutor: FfmpegBuilderNode
|
||||
noQsv ? null : new [] { "-hwaccel", "qsv", "-hwaccel_output_format", "#FORMAT#" },
|
||||
noQsv ? null : new [] { "-hwaccel", "qsv", "-hwaccel_output_format", "qsv" },
|
||||
noQsv ? null : new [] { "-hwaccel", "qsv" },
|
||||
noVaapi ? null : new [] { "-hwaccel", "vaapi" },
|
||||
noVaapi ? null : new [] { "-hwaccel", "vaapi", "-hwaccel_output_format", "vaapi" },
|
||||
noVulkan ? null : new [] { "-hwaccel", "vulkan", "-hwaccel_output_format", "vulkan" },
|
||||
noDxva2 ? null : new [] { "-hwaccel", "dxva2" },
|
||||
@@ -528,6 +530,7 @@ public class FfmpegBuilderExecutor: FfmpegBuilderNode
|
||||
//noQsv ? null : new [] { "-hwaccel", "qsv", "-hwaccel_output_format", "p010le" },
|
||||
noQsv ? null : new [] { "-hwaccel", "qsv", "-hwaccel_output_format", "qsv" },
|
||||
noQsv ? null : new [] { "-hwaccel", "qsv" },
|
||||
noVaapi ? null : new [] { "-hwaccel", "vaapi" },
|
||||
noVaapi ? null : new [] { "-hwaccel", "vaapi", "-hwaccel_output_format", "vaapi" },
|
||||
noVulkan ? null : new [] { "-hwaccel", "vulkan", "-hwaccel_output_format", "vulkan" },
|
||||
noDxva2 ? null : new [] { "-hwaccel", "dxva2" },
|
||||
|
||||
Reference in New Issue
Block a user