mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-02-08 12:29:12 -06:00
added logging to ffmpeg executor
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>FileFlows.$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
|
||||
<FileVersion>0.9.1.157</FileVersion>
|
||||
<ProductVersion>0.9.1.157</ProductVersion>
|
||||
<FileVersion>0.9.1.159</FileVersion>
|
||||
<ProductVersion>0.9.1.159</ProductVersion>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<Company>FileFlows</Company>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<FileVersion>0.9.1.157</FileVersion>
|
||||
<ProductVersion>0.9.1.157</ProductVersion>
|
||||
<FileVersion>0.9.1.159</FileVersion>
|
||||
<ProductVersion>0.9.1.159</ProductVersion>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<Company>FileFlows</Company>
|
||||
<Authors>John Andrews</Authors>
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<FileVersion>0.9.1.157</FileVersion>
|
||||
<ProductVersion>0.9.1.157</ProductVersion>
|
||||
<FileVersion>0.9.1.159</FileVersion>
|
||||
<ProductVersion>0.9.1.159</ProductVersion>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<Company>FileFlows</Company>
|
||||
<Authors>John Andrews</Authors>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<FileVersion>0.9.1.157</FileVersion>
|
||||
<ProductVersion>0.9.1.157</ProductVersion>
|
||||
<FileVersion>0.9.1.159</FileVersion>
|
||||
<ProductVersion>0.9.1.159</ProductVersion>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<Company>FileFlows</Company>
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>FileFlows.$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
|
||||
<FileVersion>0.9.1.157</FileVersion>
|
||||
<ProductVersion>0.9.1.157</ProductVersion>
|
||||
<FileVersion>0.9.1.159</FileVersion>
|
||||
<ProductVersion>0.9.1.159</ProductVersion>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<Company>FileFlows</Company>
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<FileVersion>0.9.1.157</FileVersion>
|
||||
<ProductVersion>0.9.1.157</ProductVersion>
|
||||
<FileVersion>0.9.1.159</FileVersion>
|
||||
<ProductVersion>0.9.1.159</ProductVersion>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<Company>FileFlows</Company>
|
||||
<Authors>John Andrews</Authors>
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>FileFlows.$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
|
||||
<FileVersion>0.9.1.157</FileVersion>
|
||||
<ProductVersion>0.9.1.157</ProductVersion>
|
||||
<FileVersion>0.9.1.159</FileVersion>
|
||||
<ProductVersion>0.9.1.159</ProductVersion>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<Company>FileFlows</Company>
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>FileFlows.$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
|
||||
<FileVersion>0.9.1.157</FileVersion>
|
||||
<ProductVersion>0.9.1.157</ProductVersion>
|
||||
<FileVersion>0.9.1.159</FileVersion>
|
||||
<ProductVersion>0.9.1.159</ProductVersion>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<Company>FileFlows</Company>
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>FileFlows.$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
|
||||
<FileVersion>0.9.1.157</FileVersion>
|
||||
<ProductVersion>0.9.1.157</ProductVersion>
|
||||
<FileVersion>0.9.1.159</FileVersion>
|
||||
<ProductVersion>0.9.1.159</ProductVersion>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<Company>FileFlows</Company>
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<FileVersion>0.9.1.157</FileVersion>
|
||||
<ProductVersion>0.9.1.157</ProductVersion>
|
||||
<FileVersion>0.9.1.159</FileVersion>
|
||||
<ProductVersion>0.9.1.159</ProductVersion>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<Company>FileFlows</Company>
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<FileVersion>0.9.1.157</FileVersion>
|
||||
<ProductVersion>0.9.1.157</ProductVersion>
|
||||
<FileVersion>0.9.1.159</FileVersion>
|
||||
<ProductVersion>0.9.1.159</ProductVersion>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<Company>FileFlows</Company>
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>FileFlows.$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
|
||||
<FileVersion>0.9.1.157</FileVersion>
|
||||
<ProductVersion>0.9.1.157</ProductVersion>
|
||||
<FileVersion>0.9.1.159</FileVersion>
|
||||
<ProductVersion>0.9.1.159</ProductVersion>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<Company>FileFlows</Company>
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<FileVersion>0.9.1.157</FileVersion>
|
||||
<ProductVersion>0.9.1.157</ProductVersion>
|
||||
<FileVersion>0.9.1.159</FileVersion>
|
||||
<ProductVersion>0.9.1.159</ProductVersion>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<Company>FileFlows</Company>
|
||||
<Authors>John Andrews</Authors>
|
||||
|
||||
@@ -21,6 +21,21 @@ namespace FileFlows.VideoNodes.FfmpegBuilderNodes
|
||||
public override int Execute(NodeParameters args)
|
||||
{
|
||||
var model = this.Model;
|
||||
if(model == null)
|
||||
{
|
||||
args.Logger.ELog("FFMPEG Builder model is null");
|
||||
return -1;
|
||||
}
|
||||
else if (model.VideoInfo == null)
|
||||
{
|
||||
args.Logger.ELog("FFMPEG Builder VideoInfo is null");
|
||||
return -1;
|
||||
}
|
||||
else if (model.VideoInfo.FileName == null)
|
||||
{
|
||||
args.Logger.ELog("FFMPEG Builder VideoInfo Filename is null");
|
||||
return -1;
|
||||
}
|
||||
List<string> ffArgs = new List<string>();
|
||||
|
||||
if(model.CustomParameters?.Any() == true)
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<FileVersion>0.9.1.157</FileVersion>
|
||||
<ProductVersion>0.9.1.157</ProductVersion>
|
||||
<FileVersion>0.9.1.159</FileVersion>
|
||||
<ProductVersion>0.9.1.159</ProductVersion>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<Company>FileFlows</Company>
|
||||
<Authors>John Andrews</Authors>
|
||||
|
||||
Reference in New Issue
Block a user