<?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 AAC Encoder parameters needed in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-parameters-needed/m-p/818380#M4484</link>
    <description>Thanks but If figured out my answer.</description>
    <pubDate>Mon, 04 Jun 2012 17:17:53 GMT</pubDate>
    <dc:creator>bitsmaker</dc:creator>
    <dc:date>2012-06-04T17:17:53Z</dc:date>
    <item>
      <title>AAC Encoder parameters needed</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-parameters-needed/m-p/818378#M4482</link>
      <description>&lt;SPAN style="font-family: Tahoma; color: #000000; font-size: x-small;"&gt;&lt;SPAN style="font-family: Consolas; font-size: x-small;"&gt;&lt;SPAN style="font-family: Consolas; font-size: x-small;"&gt;&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;I am successfully initializing the AACEncoder with the 
following parameters:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;UMC::AudioCodecParams audioCodecParams;&lt;/P&gt;
&lt;P&gt;audioCodecParams.m_info_in.channels = 1;&lt;/P&gt;
&lt;P&gt;audioCodecParams.m_info_in.sample_frequency = 16000;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;audioCodecParams.m_info_out.bitrate = 32000;&lt;/P&gt;
&lt;P&gt;audioCodecParams.m_info_out.stream_type = UMC::AAC_MPEG4_STREAM; 
&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: x-small;"&gt;&lt;SPAN style="font-family: Consolas; font-size: x-small;"&gt;
&lt;P&gt;audioCodecParams.profile = UMC::AAC_LC_PROFILE;&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: x-small;"&gt;&lt;SPAN style="font-family: Consolas; font-size: x-small;"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;audioCodecParams.m_pData = spMediaData.get(); // m_pData points to array 
containing 0x1408&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;On the decoder side I set the following initialization 
parameters&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;SPAN style="font-family: Consolas; font-size: x-small;"&gt;&lt;SPAN style="font-family: Consolas; font-size: x-small;"&gt;
&lt;P&gt;UMC::AudioCodecParams audioCodecParams;&lt;/P&gt;
&lt;P&gt;audioCodecParams.m_info_in.stream_type = UMC::AAC_MPEG4_STREAM; 
&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: x-small;"&gt;&lt;SPAN style="font-family: Consolas; font-size: x-small;"&gt;
&lt;P&gt;audioCodecParams.profile = UMC::AAC_LC_PROFILE;&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: x-small;"&gt;&lt;SPAN style="font-family: Consolas; font-size: x-small;"&gt;
&lt;P&gt;audioCodecParams.m_pData = spMediaData.get(); // m_pData points to array 
containing 0x1408&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;When I call GetFrame on the decoder side I get a result 
value of UMC_OK &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;SPAN style="font-family: Consolas; font-size: x-small;"&gt;&lt;SPAN style="font-family: Consolas; font-size: x-small;"&gt;
&lt;P&gt;m_spAACDecoder-&amp;gt;GetFrame(&amp;amp;m_mediaInputData, 
&amp;amp;m_mediaOutputDataVec[m_outputIndex]); // returns UMC_OK&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;However when calling &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;SPAN style="font-family: Consolas; font-size: x-small;"&gt;&lt;SPAN style="font-family: Consolas; font-size: x-small;"&gt;
&lt;P&gt;dataOutSize = m_mediaOutputDataVec[m_outputIndex].GetDataSize();&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;dataOutSize has a value of 0;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;Can someone please help me figure out what the right 
Encoder parameters are so that I can use the aforementioned AAC Decoder 
parameters.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;I have verified that the AAC decode parameters do work 
with other sources.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: consolas;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;</description>
      <pubDate>Mon, 21 May 2012 17:42:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-parameters-needed/m-p/818378#M4482</guid>
      <dc:creator>bitsmaker</dc:creator>
      <dc:date>2012-05-21T17:42:10Z</dc:date>
    </item>
    <item>
      <title>AAC Encoder parameters needed</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-parameters-needed/m-p/818379#M4483</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;You may help to provide some runable to code to have some further check? For the encoder output, what is size of the output? is it only has 2 byte, '0x1408'? This looks like audio header, anther then the real audio frame data.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2012 08:38:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-parameters-needed/m-p/818379#M4483</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2012-05-23T08:38:09Z</dc:date>
    </item>
    <item>
      <title>AAC Encoder parameters needed</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-parameters-needed/m-p/818380#M4484</link>
      <description>Thanks but If figured out my answer.</description>
      <pubDate>Mon, 04 Jun 2012 17:17:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-parameters-needed/m-p/818380#M4484</guid>
      <dc:creator>bitsmaker</dc:creator>
      <dc:date>2012-06-04T17:17:53Z</dc:date>
    </item>
  </channel>
</rss>

