I have three audio files which I am attempting to combine into a multitrack audio file.

ffmpeg -i A.wav -i B.mp3 -i C.wav -map 0 out.mp4

But the result seems to be (testing with ffmpeg -i) just a single track.

It is possible to get all tracks?

1 Answer 1


Is this what you're looking for?

ffmpeg -i A.wav -i B.mp3 -i C.wav -c copy -map 0:a -map 1:a -map 2:a out.mp4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.