[FFmpeg-user] Query
Marcus Johnson
bumblebritches57 at gmail.com
Tue May 19 12:47:48 CEST 2015
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
More information about the ffmpeg-user
mailing list