mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-04-28 06:59:07 -05:00
av1 docker
This commit is contained in:
@@ -132,24 +132,20 @@ namespace FileFlows.VideoNodes.FfmpegBuilderNodes
|
||||
if ((strFfArgs.Contains("libaom-av1") || strFfArgs.Contains("libsvtav1")))
|
||||
{
|
||||
args.Logger.DLog("Using AV1");
|
||||
if (args.IsDocker)
|
||||
if (File.Exists(ffmpeg + "-av1"))
|
||||
{
|
||||
args.Logger.DLog("Using AV1 on docker");
|
||||
if (File.Exists(ffmpeg + "-av1"))
|
||||
ffmpeg = ffmpeg + "-av1";
|
||||
if(ffArgs.IndexOf("-hwaccel") > 0)
|
||||
{
|
||||
ffmpeg = ffmpeg + "-av1";
|
||||
if(ffArgs.IndexOf("-hwaccel") > 0)
|
||||
ffArgs.RemoveRange(ffArgs.IndexOf("-hwaccel"), 2);
|
||||
if(ffArgs.IndexOf("-hwaccel_output_format") > 0)
|
||||
{
|
||||
ffArgs.RemoveRange(ffArgs.IndexOf("-hwaccel"), 2);
|
||||
if(ffArgs.IndexOf("-hwaccel_output_format") > 0)
|
||||
{
|
||||
ffArgs.RemoveRange(ffArgs.IndexOf("-hwaccel_output_format"), 2);
|
||||
}
|
||||
ffArgs.RemoveRange(ffArgs.IndexOf("-hwaccel_output_format"), 2);
|
||||
}
|
||||
}
|
||||
else
|
||||
args.Logger.DLog("Did not find custom FFMPEG AV1: " + ffmpeg + "-av1");
|
||||
}
|
||||
}
|
||||
else
|
||||
args.Logger.DLog("Did not find custom FFMPEG AV1: " + ffmpeg + "-av1");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user