ffmpeg – How to merge 1 video and 8 ch audio

I have 1 video and 8 audio. I want to merge all of these.

ffmpeg -i out1.wav -i out2.wav -i out3.wav -i out4.wav -i out5.wav -i out6.wav -filter_complex "[0:a][1:a][2:a][3:a][4:a][5:a]join=inputs=6:channel_layout=5.1(side):map=0.0-FL|1.0-FR|2.0-FC|3.0-LFE|4.0-SL|5.0-SR[a]" -map "[a]" -c:a pcm_s24le video.wav

I want to add 1 video(video.mov) and 2.0 stereo audio(out7.wav out8.wav) to this command. Finally, I want a .mov material with 1 vidoeo(8 channel audio(5.1+2.0)). I’m looking for a way to modify the command. I’d appreciate your help.

Read more here: Source link