Multichannel Order from Codec to Codec
Another common pitfall when dealing with multichannel content or developing handling multichannel content is various hardcoded channel orderings that happen from leftover surround formats development focused around broadcasting. This now plagues more modern developments with various issues when attempting to bridge between solutions or development media pipelines specific to your project or a new application. Various commonly used media handlers know will read a multichannel of
x channels and assume a specific legacy multichannel surround format, depending on the codec during handling the channels may be tagged, re-ordered and even filtered. This can be completely destructive when using multichannel audio for anything outside the intended legacy surround design, commonly seen in AR,VR,MR,XR,LBE and custom media application and projects we know all work on today.
Below are some examples of this, we will take a simple 8 channel audio file from Pro Tools and see how it changes depending on what codec you export from Pro Tools and what a common input media handler might do upon ingest (such as FFmpeg).
AIF FROM PRO TOOLS HD/ULTIMATE
AIF TO M4A
AIF TO OGG
MP4 TO AIF
WAV FROM PRO TOOLS HD/ULTIMATE
WAV TO M4A
WAV TO OGG
- AIF tends to be safer to use due to the lack of metadata support, meaning cases of the wav file containing estaimted channel metadata tags are avoided when converting to other codecs.