Open joshblitstein opened 2 years ago
ffmpeg
.input('input1.mp3')
.input('input2.mp3')
.complexFilter([{
inputs: ['0:0', '1:0'],
filter: 'amix',
options: {
inputs: 2,
duration: 'shortest'
},
}])
why do you have to make everything so complicated? cant use a simple command. instead have to deal with this json junk.
I need to reporduce this command but programmatically using fluent please help ffmpeg -y -i input1.mp3 -i input2.mp3 -filter_complex "[0:0][1:0] amix=inputs=2:duration=shortest" -c:a libmp3lame output.mp3