- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all, I'm develop an AACDecoder in my application using UMC::AACDecoder. I have to decode RTP AAC packet. I have already have a look to
http://software.intel.com/en-us/forums/topic/287391
and
http://software.intel.com/en-us/forums/topic/289752
And was very useful. I can decode and hear audio. Anyway I think the documentation is still missing of clear information about that: I mean it's not clear that you have to initialize the decoder in AAC_MPEG4_STREAM mode giving to the init a 2byte buffer from RTSP negotiation.
Anyway the problem is that documentation explain the "Typical Usage" that fill the input buffer with m_SuggestedInputSize and give it to the GetFrame. The problem is that in AAC_MPEG4_STREAM, after the decoding is performed the MediaData input buffer has always the GetDataSize=0 because of these decoder lines:
if (AAC_MPEG4_STREAM == m_info.m_init_stream_type) {
in->MoveDataPointer((Ipp32s)in->GetDataSize());
} else {
in->MoveDataPointer(nDecodedBytes);
}
So, why you do a in->MoveDataPointer((Ipp32s)in->GetDataSize()); even if nDecodedBytes is less then in->GetDataSize()? this way I can't fill it with m_SuggestedInputSize but I have to fill exactly 1 AAC packet otherwise I do not know if you have some remain size inside.
Can I walk around this? and Why there's in->MoveDataPointer((Ipp32s)in->GetDataSize()); line?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page