Update transcodeKeepOneAudioStream.js

make-only-subtitle-default
HaveAGitGat 6 years ago committed by GitHub
parent c0a62ac3c8
commit 86835f6682
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save