I'm trying to merge these two WAVs (L.wav and R.wav) into a single, dual-channel stereo OGG. This is what I'm trying:
ffmpeg -i L.wav -i R.wav -c:a libvorbis -q:a 5 \ -filter_complex "[0:a][1:a]amerge" -f ogg out.ogg
However, ffmpeg says that:
Input channel layouts overlap: output layout will be determined by the number of distinct input channels
4.0 not supported by Vorbis: output stream will have incorrect channel layout.
So I understand I will only get one audio in only one channel of my output file. So the question is, how can I tell ffmpeg to map channel 0 of L.wav and channel 0 of R.wav into channels 0 and 1 of out.ogg (respectively)? something like this:
input #0 [220.127.116.11] → [18.104.22.168] \ > output #0 [1.1] input #1 [22.214.171.124] → [0.1.0.0] /