- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Thanks,
Bob
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page