Im triyng to concat audio and video with the library fluent-ffmpeg but it is not workyng. Anyone can help me?
var proc = ffmpeg(firstFile)
.input(secondFile)
.input(thirdFile)
.input("./musicas/1.wav")
//.input(...)
.on('end', function() {
console.log('files have been merged succesfully');
})
.on('error', function(err) {
console.log('an error happened: ' + err.message);
})
.mergeToFile(outPath);