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: How to encode 2.1 source with CoreAudioToolbox? (Read 3671 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to encode 2.1 source with CoreAudioToolbox?

HI! I need help to encode 2.1 audio with qaac. Passing it the source, I get an error: unsupported audio format.
Maybe there's a way to remap the channels to suit quicktime's scheme, or other workaround. Thankyou.

How to encode 2.1 source with CoreAudioToolbox?

Reply #1
HI! I need help to encode 2.1 audio with qaac. Passing it the source, I get an error: unsupported audio format.
Maybe there's a way to remap the channels to suit quicktime's scheme, or other workaround. Thankyou.

qaac complains because 2.1ch is not available by AAC/ALAC encoder. As for qaac, you can use matrix mixer for downmixing to stereo (see usage page).
In this case, probably just dropping LFE channel is enough. so, you can use the following matrix:
Code: [Select]
1 0 0
0 1 0

If you are working with QuickTime pro, you can manually assign each channels, and specify output channel layout. If you are working with CoreAudio as a programmer, probably you have to implement mixer by yourself.