ffmpeg
tool. ffmpeg
commands. However, as usual, ffmpeg
options quite difficult to get right if you are not a regular user of that tool. So I had to spent some time on that, but at the end I think I've found a simple sequence of commands which I can understand and that do the job.i.mov
file which was recorded by QuickTime player (File -> New Movie Recording) using an external microphone.i.mov
files, disables the video (-vn
) and copies the audio (-acodec copy
) and produces a new audio file orig.aac
I am doing all of this on a Mac, so my videos are recorded using typical formats and codecs used by Apple.ffplay mono.aac
i.mov
and copy audio stream from the mono.aac
file to get the final result.i.mov
) to the first video stream of the output (-map 0:v:0
), and the audio of the second stream to the first audio stream of the resulting file (-map 1:a:0
).