Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: iOS not correctly mapping multichannel audio files unless "no channel layout" (Read 8329 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

iOS not correctly mapping multichannel audio files unless "no channel layout"

iOS not correctly mapping multichannel audio files unless "no channel layout", for example:
=============================================================
Does map correctly:
=============================================================
afinfo "6_Channel_ID_10sec_NoLayout.wav"
File:           6_Channel_ID_10sec_NoLayout.wav
File type ID:   WAVE
Num Tracks:     1
----
Data format:     6 ch,  44100 Hz, 'lpcm' (0x0000000C) 16-bit little-endian signed integer
                no channel layout.
=============================================================
Does NOT map correctly:
=============================================================
afinfo "6_Channel_ID_10sec.wav"
File:           6_Channel_ID_10sec.wav
File type ID:   WAVE
Num Tracks:     1
----
Data format:     6 ch,  44100 Hz, 'lpcm' (0x0000000C) 16-bit little-endian signed integer
Channel layout: 5.1 (L R C LFE Ls Rs)
=============================================================
When either of these input .wav files are encoded to AAC using afconvert, the output .m4a will always have channel layout assigned, and will not map correctly.
How to encode files to AAC (or modify the Packet Table Header?) to produce multichannel AAC files that will report "no channel layout" to afinfo, and therefore presumably map correctly?
Thanks!