<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to decode AAC. in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-decode-AAC/m-p/812599#M3996</link>
    <description>Have you tried the IPP samples? There are some good samples for AAC encoding and decoding in audio-video-codecs-samples</description>
    <pubDate>Wed, 03 Nov 2010 08:38:16 GMT</pubDate>
    <dc:creator>VipinKumar_E_Intel</dc:creator>
    <dc:date>2010-11-03T08:38:16Z</dc:date>
    <item>
      <title>How to decode AAC.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-decode-AAC/m-p/812597#M3994</link>
      <description>&lt;P&gt;hi...&lt;/P&gt;&lt;P&gt;I try to decode AAC data from RTSP stream. The GetFrame function wlways returns error (AAC_BAD_STREAM,UMC_ERR_INVALID_STREAM).&lt;BR /&gt;The code as follows.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;a=rtpmap:98 mpeg4-generic/8000/2&lt;BR /&gt;a=fmtp:98 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1590; SizeLength=13;IndexLength=3; IndexDeltaLength=3; Profile=1;&lt;/P&gt;&lt;P&gt;pData ={&lt;/P&gt;&lt;P&gt;00 10 0a 60 21 0a 05 01 05 02 c2 10 a1 1c 89 b7 0c bb df 47 35 d6 6a f7 d4 e7 5c 65 3a e6 15 72&lt;BR /&gt;b4 ad 20 ec 5d bf 72 33 45 18 bc 4c 0c 4a 62 07 75 6d 01 8b e7 65 6d 75 91 66 7e 81 58 cc 7f fb&lt;BR /&gt;73 40 82 17 35 5c 9c 02 a2 0a e3 5d 09 b8 e8 2a b6 a8 a3 9a ac cf 90 02 86 f2 df 26 11 7f 3d fa\\&lt;BR /&gt;a3 4a 7c b9 29 73 f9 b1 cb 3f c3 a3 fe 28 46 3e 4b e9 d7 37 b0 dd fa 2f 31 e8 6c 11 85 10 48 6a&lt;BR /&gt;4f e8 d4 b9 70 db b8 b7 fe cb 6a 6d 8e e1 84 67 81 9e 33 6c 1c e8 11 0b 28 fc 8e 9e 97 24 2f 36&lt;BR /&gt;a6 5e 50 b4 d3 05 2f 7a 34 02 af d5 f1 ac 0c f7 62 3d 47 21 34 7d 02 8a 46 43 1a 7c a6 48 32 3f&lt;BR /&gt;52 c9 19 0b b6 f2 0c 76 7b b9 6f d0 c0 e9 ca d7 98 13 29 ba 7c f1 28 35 56 5c ae ac 30 ab 9a 9e&lt;BR /&gt;95 5e d8 b5 0d 75 13 13 db d5 d7 19 4e 89 50 f9 ea 4f eb 52 45 e9 f2 09 9f 36 ab af bf e2 3a 7a&lt;BR /&gt;ab 7d f9 9a b8 32 dc f5 f6 b4 98 d1 b3 8d 17 74 74 04 14 0b 08 42 84 72 20 7f 4e 19 77 be 8e 6b&lt;BR /&gt;ac 00 00 00 07 62 ed fb 91 9a 28 c5 e2 60 62 53 10 3b ab 68 0c 5f 3b 2b 6b ac 8b 33 f4 0a c6 63&lt;BR /&gt;ff db 9a 04 10 b9 aa e4 e0 15 10 57 1a c2 01 c0&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;iData=336;&lt;BR /&gt;resultSpecialHeaderSize = 4&lt;/P&gt;&lt;P&gt;// offset header&lt;BR /&gt;pData+=resultSpecialHeaderSize;&lt;BR /&gt;iData-=resultSpecialHeaderSize;&lt;/P&gt;&lt;P&gt;//UMC::AACDecoder&lt;BR /&gt;UMC::AudioCodec *pHandle=(UMC::AudioCodec *)m_pHandle;&lt;BR /&gt;UMC::MediaData *pDataIn=(UMC::MediaData *)m_pDataIn;&lt;BR /&gt;UMC::AudioData *pDataOut=(UMC::AudioData *)m_pDataOut;&lt;/P&gt;&lt;P&gt;pDataIn-&amp;gt;SetBufferPointer(pData,iData);&lt;BR /&gt;pDataIn-&amp;gt;SetDataSize(iData);&lt;/P&gt;&lt;P&gt;UMC::Status status ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;UMC::AudioCodecParams param;&lt;BR /&gt;param.m_info_in.sample_frequency = 8000; &lt;BR /&gt;param.m_info_in.bitrate = 32000; &lt;BR /&gt;param.m_info_in.bitPerSample = 16; &lt;BR /&gt;param.m_info_in.channels = 2; &lt;BR /&gt;param.m_info_in.stream_type = UMC::AAC_MPEG4_STREAM;&lt;BR /&gt;param.profile = AAC_PROFILE_MAIN; &lt;BR /&gt;param.m_pData = pDataIn;&lt;/P&gt;&lt;P&gt;if(pHandle-&amp;gt;Init(&amp;amp;param)!=UMC::UMC_OK) &lt;BR /&gt;{&lt;BR /&gt;return false;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;pDataIn-&amp;gt;SetBufferPointer(pData,iData);&lt;BR /&gt;pDataIn-&amp;gt;SetDataSize(iData);&lt;/P&gt;&lt;P&gt;if(!m_pDataOut)&lt;BR /&gt;{&lt;BR /&gt;m_pDataOut=PF_NEW(UMC::AudioData);&lt;BR /&gt;pDataOut=(UMC::AudioData *)m_pDataOut;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;pDataOut-&amp;gt;SetBufferPointer(pBuffer,iBuffer);&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;status = pHandle-&amp;gt;GetFrame(pDataIn,pDataOut);&lt;BR /&gt;if(status!=UMC::UMC_OK)&lt;BR /&gt;return false;&lt;BR /&gt;&lt;/STRONG&gt;(AAC_BAD_STREAM,UMC_ERR_INVALID_STREAM)&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;How to fix the error ?&lt;/P&gt;&lt;P&gt;Thx.&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2010 14:24:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-decode-AAC/m-p/812597#M3994</guid>
      <dc:creator>billcruse</dc:creator>
      <dc:date>2010-10-04T14:24:27Z</dc:date>
    </item>
    <item>
      <title>How to decode AAC.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-decode-AAC/m-p/812598#M3995</link>
      <description>Attach AAC-Frame00~ACC-Frame59 data.&lt;BR /&gt;&lt;BR /&gt;Thx</description>
      <pubDate>Tue, 05 Oct 2010 03:08:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-decode-AAC/m-p/812598#M3995</guid>
      <dc:creator>billcruse</dc:creator>
      <dc:date>2010-10-05T03:08:18Z</dc:date>
    </item>
    <item>
      <title>How to decode AAC.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-decode-AAC/m-p/812599#M3996</link>
      <description>Have you tried the IPP samples? There are some good samples for AAC encoding and decoding in audio-video-codecs-samples</description>
      <pubDate>Wed, 03 Nov 2010 08:38:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-decode-AAC/m-p/812599#M3996</guid>
      <dc:creator>VipinKumar_E_Intel</dc:creator>
      <dc:date>2010-11-03T08:38:16Z</dc:date>
    </item>
    <item>
      <title>How to decode AAC.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-decode-AAC/m-p/812600#M3997</link>
      <description>&lt;P&gt;Actually, this is not a bug of AAC Decoder. Our decoder doesnt work with RTP packet, so stream should be properly prepared. First of all, you need to initialize decoder using AudioSpecifigConfig() (0x1590 in this case) and then pass audio data.You may find an example of this usage in the following forum discussion &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=74291"&gt;http://software.intel.com/en-us/forums/showthread.php?t=74291&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Vipin&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2010 19:06:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-decode-AAC/m-p/812600#M3997</guid>
      <dc:creator>VipinKumar_E_Intel</dc:creator>
      <dc:date>2010-11-03T19:06:41Z</dc:date>
    </item>
  </channel>
</rss>

