From 86835f6682b717c14bcbd275a464cf1ab7ff36df Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Sat, 28 Mar 2020 11:57:45 +0000 Subject: [PATCH] Update transcodeKeepOneAudioStream.js --- methods/library/actions/transcodeKeepOneAudioStream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/methods/library/actions/transcodeKeepOneAudioStream.js b/methods/library/actions/transcodeKeepOneAudioStream.js index 8e17882..4feece5 100644 --- a/methods/library/actions/transcodeKeepOneAudioStream.js +++ b/methods/library/actions/transcodeKeepOneAudioStream.js @@ -60,7 +60,7 @@ module.exports = function transcodeKeepOneAudioStream(file, audioEncoder, langTa try { if (file.ffProbeData.streams[i].codec_type.toLowerCase() == "audio" && i !== audioStreamToKeep) { - ffmpegCommandInsert += ` -map -0:a:${i}` + ffmpegCommandInsert += ` -map -0:${i}` } } catch (err) { }