IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
How to encode 2.1 source with CoreAudioToolbox?, Moderation: via qaac, currently giving error: unsupported audio format
Anakunda
post Dec 21 2011, 18:38
Post #1





Group: Members
Posts: 460
Joined: 24-November 08
Member No.: 63072



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.
Go to the top of the page
+Quote Post
nu774
post Dec 22 2011, 01:52
Post #2





Group: Developer
Posts: 528
Joined: 22-November 10
From: Japan
Member No.: 85902



QUOTE (Anakunda @ Dec 22 2011, 02:38) *
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
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.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th September 2014 - 18:16