I'd like to create an AAC encoded audio file with an MP4 container that has a large number of channels, ideally up to 64.
I'm running something like this (but with 9 files and a larger list at the start of the filter):
ffmpeg -hide_banner -i 0.wav -i 1.wav -filter_complex '[0:a][1:a]amerge=inputs=9[aout]' -map '[aout]' '-c:a' aac 'multichannel.m4a'
Unfortunately the codec complains about 9 being an unsupported number of channels. Is there any way to do this?