BLOG

Merge two mp3 / music with ffmpeg sample commands

Some commands you can use to merge 2 mp3   ffmpeg -i input1.mp3 -i input2.mp3 -filter_complex amerge -ac 2 -c:a libmp3lame -q:a 4 output.mp3     ffmpeg -i input1.mp3 -i aj-loop.wav -filter_complex “amix=inputs=2:duration=longest” -ac 2 -c:a libmp3lame -q:a 4 output.mp3     ffmpeg -i /Applications/MAMP/htdocs/testimages/test/input1.mp3 -i /Applications/MAMP/htdocs/testimages/test/aj-loop.wav -filter_complex “amix=inputs=2:duration=longest” -ac 2 -c:a libmp3lame -q:a 4 […]