• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Multimedia Software Codecs » Multimedia Software Codecs forum » Integrating AAC Encode Codecs into DM3730 DVSDK
Share
Multimedia Software Codecs
  • Forum
Options
  • Subscribe via RSS

Integrating AAC Encode Codecs into DM3730 DVSDK

Integrating AAC Encode Codecs into DM3730 DVSDK

This question is answered
JasonD3
Posted by JasonD3
on Jan 10 2012 17:06 PM
Intellectual740 points

I want to use the AACHEENC or AACLCENC codecs on the DM3730 EVM.  I noticed that the encode demo that ships with the latest DVSDK for some reason does not include these codecs.  I've downloaded them separately from the TI website and have integrated them into the codec server.  The integration process seems to have gone smoothly.  However, when I try to create an instance of either audio encoder, I always get a Remote Node create FAILURE message.  I've tried looking at the DSP trace and there isn't any message that I can see that stands out to help figure out this error.

Does anyone know if the AAC encoders can be used on this platform?  I'm curious as to why the encode demo that ships wit the DVSDK has pretty much every other type of encode codec but suspiciously doesn't include the AAC encoders.

Thanks,

Jason

Codec Engine AAC-LC
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • JasonD3
    Posted by JasonD3
    on Jan 11 2012 10:23 AM
    Intellectual740 points
    aacencodeFAIL.log

    I've included the log file in this follow up post.  The creation of the AACLCENC starts at line 781 in the log.  I'm using the default parameters that are set up by DMAI (in Aenc1.c).

    The version of DVSDK that I'm using is: 4.02.00.06

    Any help with this is greatly appreciated.  I've scoured the forums and haven't found any solution that has solved this issue.

    Thanks,

    Jason

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ramsey
    Posted by Ramsey
    on Jan 16 2012 11:41 AM
    Expert3710 points

    Jason,

    Studying the log, I found the following message which might be helpful.

    [DSP] @0,791,213tk: [+7 T:0x8fb40454 S:0x8fb440fc] ti.sdo.ce.alg.Algorithm - Algorithm_create> Algorithm creation FAILED; make sure that 1) alg params are correct/appropriate, 2) there is enough internal and external algorithm memory available -- check DSKT2 settings for heap assignments and scratch allocation

    My first guess would be that the heap is not large enough, although I don't see any memory allocation failures. I don't know why the codec does not ship with the DVSDK. Maybe someone from that team can answer.

    ~ Ramsey

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • JasonD3
    Posted by JasonD3
    on Jan 16 2012 12:56 PM
    Intellectual740 points

    Ramsey,

    I have tried increasing the heap and haven't had any luck.  I would have expected to see some kind of memory allocation failure as well, but that's why I said I haven't been able to get anything really useful out of the log.  Also, the parameters that I'm using are the defaults from the Aenc1.c file in the DMAI package that ships with the DVSDK.  These default parameters seem to be acceptable according to the AAC encoder user's guide so I don't think this is the problem either.

    - Jason

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Brijesh Singh
    Posted by Brijesh Singh
    on Jan 16 2012 21:46 PM
    Verified Answer
    Verified by JasonD3
    Expert5680 points

    Jason,

    DVSDK codec server includes only TSPA (Technology / Software Publicly Available ) codecs and AAC encoder is not licensed under TSPA hence the codec was not bundled as part of DVSDK offering.  Please follow the steps documented on this web link to integrate the codec inside DVSDK http://processors.wiki.ti.com/index.php?title=How_do_I_Integrate_new_codecs_into_DVSDK. The example talks about MP3 decoder but the similar steps can be used for AAC encoder. Please note that standard DMAI example for AAC encoder is validated on DM36x platform only and it may be possible that the defaults in DMAI may not work on DM3730, please check the AAC encoder user guide and sample example included in the encoder package. As error message pointed, you may either have configured less heap or using wrong params while configuring codec param.

    Thanks

    Brijesh


    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • JasonD3
    Posted by JasonD3
    on Jan 17 2012 14:54 PM
    Intellectual740 points

    Brijesh,

    Thank you for the response.  I did go through all these steps previously, but after reading your note I went back to double check them.  I found that some of the arguments in the AAC test application (that comes with the codec) were not the same as what was being set by the DMAI files.  I changed the sampleRate to 44100 and the bitRate to 128000 and then I was able to create the AAC LC encoder successfully.

    Thanks for your input,

    Jason

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • QingboGuo
    Posted by QingboGuo
    on Jan 05 2013 05:31 AM
    Intellectual425 points

    Hello, JasonD3:

    How can I get the log files aacencodeFAIL.log,would you give me some advices?Thank you!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Fabio Moura
    Posted by Fabio Moura
    on Jan 14 2013 08:36 AM
    Prodigy20 points

    HI Jason,

    Please you have a Step - Step how include audio AAC encoder in beagleboard-XM co DVSDK 4.x ???

    I need to use AAC encoder with Beagleboard-XM , please help me !

    Best Regards,

    Fabio Moura

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Berkant Aydemir1
    Posted by Berkant Aydemir1
    on Jan 16 2013 06:51 AM
    Prodigy50 points

    Dear All,

    I have similar problems while trying to integrate AAC-HE codec to DVSDK 4x. Here is my post on e2e,

    DVSDK 4x AAC Encoder Codec Integration Problem

    http://e2e.ti.com/support/embedded/multimedia_software_codecs/f/356/t/232825.aspx

    Regards,

    BA

    Berkant Aydemir

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use