diff --git a/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandEnsureAudioStream/1.0.0/index.ts b/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandEnsureAudioStream/1.0.0/index.ts index 1c833b5..e707af2 100644 --- a/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandEnsureAudioStream/1.0.0/index.ts +++ b/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandEnsureAudioStream/1.0.0/index.ts @@ -31,6 +31,7 @@ const details = (): IpluginDetails => ({ 'eac3', 'dca', 'flac', + 'libopus', 'mp2', 'libmp3lame', 'truehd', @@ -192,6 +193,10 @@ const plugin = (args: IpluginInputArgs): IpluginOutputArgs => { audioCodec = 'mp3'; } + if (audioEncoder === 'libopus') { + audioCodec = 'opus'; + } + const addedOrExists = attemptMakeStream({ args, langTag,