<p>Is this what you're looking for?</p>
<pre><code>ffmpeg -i A.wav -i B.mp3 -i C.wav -c copy -map 0:a -map 1:a -map 2:a out.mp4
</code></pre>

CC BY-SA 4.0
2022-10-23T01:54:12.850Z
2022-10-23T01:54:12.850Z
1957classic
<p>I have three audio files which I am attempting to combine into a multitrack audio file.</p>
<pre class="lang-sh prettyprint-override"><code>ffmpeg -i A.wav -i B.mp3 -i C.wav -map 0 out.mp4
</code></pre>
<p>But the result seems to be (testing with <code>ffmpeg -i</code>) just a single track.</p>
<p>It is possible to get all tracks?</p>

<ffmpeg>
ffmpeg combine multitrack audio
William Entriken
# ffmpeg combine multitrack audio

(Asked by: username_0 on 2022-10-22)

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?

**Tags:** ffmpeg


---

## 1 answers

### Answer by username_1 on 2022-10-23. Score: 0

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


---

