Update transcodeKeepOneAudioStream.js

This commit is contained in:
HaveAGitGat 2020-03-28 11:57:45 +00:00 committed by GitHub
parent c0a62ac3c8
commit 86835f6682
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) { }