Commit 09af1645 authored by Yoann HOUPERT's avatar Yoann HOUPERT

generate merge audio

parent b47a8221
Pipeline #13585 failed with stage
......@@ -40,11 +40,11 @@ module.exports = config => {
let nbFile = 0;
let cmd = ffmpeg()
fs.readdirSync(config.folder.audioMerged).forEach(file => {
cmd.input(file)
cmd.input(config.folder.audioMerged+"/"+file)
nbFile++;
})
cmd.complexFilter('amix=inputs='+nbFile+':duration=first:dropout_transition=3')
.save(config.folder.audioWav+"/merged.wav")
.save(config.folder.audioMerged+"/merged.wav")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment