From bd5f058a831ad619b51721cbce01c82f9a414ac7 Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Wed, 15 Nov 2023 12:13:03 +0000 Subject: [PATCH 1/2] auto build test --- .../CommunityFlowPlugins/audio/checkAudioCodec/1.0.0/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FlowPluginsTs/CommunityFlowPlugins/audio/checkAudioCodec/1.0.0/index.ts b/FlowPluginsTs/CommunityFlowPlugins/audio/checkAudioCodec/1.0.0/index.ts index 37672cd3a..91966d135 100644 --- a/FlowPluginsTs/CommunityFlowPlugins/audio/checkAudioCodec/1.0.0/index.ts +++ b/FlowPluginsTs/CommunityFlowPlugins/audio/checkAudioCodec/1.0.0/index.ts @@ -71,6 +71,8 @@ const plugin = (args:IpluginInputArgs):IpluginOutputArgs => { }); } + // auto build test + return { outputFileObj: args.inputFileObj, outputNumber: hasCodec ? 1 : 2, From 354bfb7f58455b035706f67426be37676eaff51e Mon Sep 17 00:00:00 2001 From: HaveAGitGat Date: Wed, 15 Nov 2023 12:13:47 +0000 Subject: [PATCH 2/2] Apply auto-build changes --- .../CommunityFlowPlugins/audio/checkAudioCodec/1.0.0/index.js | 1 + .../ffmpegCommandEnsureAudioStream/1.0.0/index.js | 4 ++++ .../CommunityFlowPlugins/video/checkVideoCodec/1.0.0/index.js | 3 +-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/FlowPlugins/CommunityFlowPlugins/audio/checkAudioCodec/1.0.0/index.js b/FlowPlugins/CommunityFlowPlugins/audio/checkAudioCodec/1.0.0/index.js index f9c17bd22..74aa5d75e 100644 --- a/FlowPlugins/CommunityFlowPlugins/audio/checkAudioCodec/1.0.0/index.js +++ b/FlowPlugins/CommunityFlowPlugins/audio/checkAudioCodec/1.0.0/index.js @@ -65,6 +65,7 @@ var plugin = function (args) { } }); } + // auto build test return { outputFileObj: args.inputFileObj, outputNumber: hasCodec ? 1 : 2, diff --git a/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandEnsureAudioStream/1.0.0/index.js b/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandEnsureAudioStream/1.0.0/index.js index b3ff0eba6..ffaf341db 100644 --- a/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandEnsureAudioStream/1.0.0/index.js +++ b/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandEnsureAudioStream/1.0.0/index.js @@ -27,6 +27,7 @@ var details = function () { return ({ 'eac3', 'dca', 'flac', + 'libopus', 'mp2', 'libmp3lame', 'truehd', @@ -148,6 +149,9 @@ var plugin = function (args) { if (audioEncoder === 'libmp3lame') { audioCodec = 'mp3'; } + if (audioEncoder === 'libopus') { + audioCodec = 'opus'; + } var addedOrExists = attemptMakeStream({ args: args, langTag: langTag, diff --git a/FlowPlugins/CommunityFlowPlugins/video/checkVideoCodec/1.0.0/index.js b/FlowPlugins/CommunityFlowPlugins/video/checkVideoCodec/1.0.0/index.js index 9eb963c27..bd96c7c3c 100644 --- a/FlowPlugins/CommunityFlowPlugins/video/checkVideoCodec/1.0.0/index.js +++ b/FlowPlugins/CommunityFlowPlugins/video/checkVideoCodec/1.0.0/index.js @@ -33,8 +33,7 @@ var details = function () { return ({ 'mpeg2video', 'mjpeg', 'flv', - 'mpeg4', - 'theora' + 'theora', ], }, tooltip: 'Specify the codec check for',