[FFmpeg-user] Copying all audio channels and create mixdown at the same time
Paul B Mahol
onemda at gmail.com
Wed Aug 23 11:40:02 EEST 2017
On 8/22/17, Lou <lou at lrcd.com> wrote:
> On Tue, Aug 22, 2017, at 08:15 AM, Steve Dierker wrote:
>> Hello list,
>> I have an MXF file with one video track and 8 audio track. I'm trying to
>> reencode it to MP4 while preserving all existing tracks and also adding
>> a mixdown of all audio tracks as the 9th track.
>> Right now I'm only able to do this in 2 separate FFmpeg calls and I'm
>> wondering whether one can do it in one call.
> ffmpeg -i input -filter_complex
> -map 0 -map "[mix]" output
> Or if you want to be lazy and blindly trust amix to choose inputs for
> ffmpeg -i input -filter_complex "amerge=inputs=8[downmix]" -map 0 -map
> "[mix]" output
amerge is not an amix.
amerge merges while amix mixes streams.
More information about the ffmpeg-user