You'll have to do this in two steps. here is the audio step. Replace the *.wav files here with the actual path and filenames. (also, if the wav files are 24 bit you'll have to add -acodec pcm_s24le in front of the file names)
ffmpeg -i front_left.wav -i front_right.wav -i front_center.wav -i lfe.wav -i back_left.wav -i back_right.wav -filter_complex "[0:a][1:a][2:a][3:a][4:a][5:a]amerge=inputs=6[aout]" -map "[aout]" output.wav Once you're done with the audio file, run this to mux the video and audio into a container: ffmpeg -i AudioFile.wav -i Video.264 -acodec copy -vcodec copy Outputfile.mkv _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
