Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
公告
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

UMC AAC Decoder - Multiple Audio Channels

Bob_Kirnum
初学者
1,144 次查看
Is there some way to decode AAC stereo to linear PCM mono? If not, is there some way to determine the number of channels and whaich frame belongs to which channel from the AAC Decoder?

Thanks,
Bob
0 项奖励
4 回复数
Vasily_Lipsyuk__Inte
1,144 次查看

We dont have the way to decode AAC stereo to linear PCM mono,

but there is a possibility to define the number of channels and which frame belongs to which channel.

Regards,

Vasily Lipsyuk

0 项奖励
Bob_Kirnum
初学者
1,144 次查看
Thank you for your precise answer. Could you provide a clue or more as to how to define the number of channels and which frame belongs with which channel?
0 项奖励
Bob_Kirnum
初学者
1,144 次查看
I managed to change my code from using the dual thread codec to the AAC decoder directly. This gives me acces to the AudioData class which in turn gives me the number of channels and the sample rate for the AAC content. However, I am still not clear how frames and channels are associated. Are there multiple channels in a single frame? Is there a single channel in a single frame? If the former, how does one isolate the channels? If the latter, how does one determine which channel a given frame is associated with?
0 项奖励
Vasily_Lipsyuk__Inte
1,144 次查看
Frames and channels aren't associated in any way. A single frame can contain multiple channels. Inoutput file channels are mixed and are one after another. If you want to create aoutput file in a linear PCM monomay be better to take anarithmetic mean value on all channels and to write down in a file for example.


0 项奖励
回复