Update transcodeKeepOneAudioStream.js
This commit is contained in:
parent
c0a62ac3c8
commit
86835f6682
@ -60,7 +60,7 @@ module.exports = function transcodeKeepOneAudioStream(file, audioEncoder, langTa
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if (file.ffProbeData.streams[i].codec_type.toLowerCase() == "audio" && i !== audioStreamToKeep) {
|
if (file.ffProbeData.streams[i].codec_type.toLowerCase() == "audio" && i !== audioStreamToKeep) {
|
||||||
ffmpegCommandInsert += ` -map -0:a:${i}`
|
ffmpegCommandInsert += ` -map -0:${i}`
|
||||||
|
|
||||||
}
|
}
|
||||||
} catch (err) { }
|
} catch (err) { }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user