FFMPEG convert video with multiple audio streams? Ok so I have a video made from dxtory. The video is using dxtory video codec and unknown audio codec. When I pop the file into avimux, I can clearly see two audio tracks/sources. I have successfully converted the video without loss of quality with the following.

ffmpeg -i "The Bunker.avi" -vcodec h264 TheBunkerMix.mp4


But, the resultant file only had one track/source. Basically I recorded game footage and the original file had both the in game sounds as well as the mic recording commentary on top. But, when I did the conversion my audio commentary track/source got lost in conversion. What other options can I include to get my audio tracks?

EDIT 2:

I've gotten close now, but still not right. I have used the following but again its seems to ignore the first -map option. If I flipped which map comes second, that is the stream that is audible in the output. How do I mux them together so they both play?

ffmpeg -i "The Bunker.avi" -map 0:0 -map 0:1 -map 0:2 -vcodec h264 -acodec:0 mp
 -acodec:1 mp3 TheBunkerNwMix.mp4


This is the stream mappings so I have no idea why it isn't mapping correctly?

Stream mapping:
  Stream #0:0 -&gt; #0:0 (dxtory -&gt; libx264)
  Stream #0:1 -&gt; #0:1 (pcm_s16le -&gt; libmp3lame)
  Stream #0:2 -&gt; #0:2 (pcm_s16le -&gt; libmp3lame)
If you copied your command there then your issue is probably -acodec:0 mp. That should be -acodec:0 mp3.

You can just use -c:a mp3 to apply the encoding options to all audio tracks at once, no need to apply them for each individually.

Other than that your mapping is correct and shouldn't be the issue.

Edit: To conclude the discussion in the comments regarding the actual reason behind the question: When it comes to editing it is no problem to just transcode the video stream if the source codec makes problems and import the audio from the source file by either muxing the audio into a new container with the transcoded video stream or just importing the transcoded video and audio streams separately (by demuxing the source) into your editing program and skip on the container format.