Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Assuming the two mono files are named "track1.wav" and "track2.wav", and the desired output name for the .mov file is "combined.mov", the following FFmpeg command can be used:

ffmpeg -i track1.wav -i track2.wav -filter_complex "[0:a][1:a]amerge=inputs=2[a]" -map "[a]" combined.mov

Explanation:

  • "-i track1.wav -i track2.wav": specifies the input files to be combined
  • "-filter_complex": applies a filtergraph for audio combining/filtering
  • "[0:a][1:a]": specifies the audio streams from the two input files to be combined
  • "amerge=inputs=2": merges the two audio streams into a single output stream
  • "[a]": names the output audio stream as "a"
  • "-map "[a]"": specifies that "a" is the audio stream to be included in the output file
  • "combined.mov": specifies the output file name and format.