• 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 » 160 x 120 resolutions not supported in dm37xx dsp
Share
Multimedia Software Codecs
  • Forum
Options
  • Subscribe via RSS

Forums

160 x 120 resolutions not supported in dm37xx dsp

This question is answered
Jitendra Kumar
Posted by Jitendra Kumar
on Jun 24 2011 05:54 AM
Intellectual285 points


hi,

In DM 37xx,  while doing video encode using dsp via h264 encoder for QQVGA resolution 160x120. we get following error:

root@omap3evm:~/dsp/ti-dmai-apps# ./video_encode_io1_dm3730.x470MV
 -c h264enc -i /home/root/snap_1280x720_1_AF_ENA.uyvy -o testoutput.264 -r 160x1
20 -n 8
Starting application...
Failed to create video encoder: h264enc
End of application.

if instead of 160x120,we use resolution 160x128, i.e. multiple of 16, get pass without error.

root@omap3evm:~/dsp/ti-dmai-apps# ./video_encode_io1_dm3730.x470MV
 -c h264enc -i /home/root/snap_1280x720_1_AF_ENA.uyvy -o testoutput.264 -r 160x1
28 -n 8
Starting application...

 Frame 0: Read UYVY frame size 40960 (160x128) from file

 Frame 1: Read UYVY frame size 40960 (160x128) from file

 Frame 2: Read UYVY frame size 40960 (160x128) from file

 Frame 3: Read UYVY frame size 40960 (160x128) from file

 Frame 4: Read UYVY frame size 40960 (160x128) from file

 Frame 5: Read UYVY frame size 40960 (160x128) from file

 Frame 6: Read UYVY frame size 40960 (160x128) from file

 Frame 7: Read UYVY frame size 40960 (160x128) from file
... exiting
End of application.

Does it is necessary to put resoluotion in multiple of 16, to use h264 encoder?

Thanks

jitendra kumar

 

Codec h264 H264 Encoder h264enc H.264 Encoder DMAI
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Vivek Basu
    Posted by Vivek Basu
    on Jun 24 2011 07:54 AM
    Prodigy10 points

    Hi,

    Can you please confirm the version of the H.264 Encoder that you are using? Either you can check the release package or else call the XDM_GETVERSION control call in your application. We had fixed this issue (of non-multiple of 16 during create) in the Single CPU release, with version 01.00.03.00

     

     

     Regards,

    Vivek 

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jitendra Kumar
    Posted by Jitendra Kumar
    on Jun 27 2011 01:12 AM
    Intellectual285 points

    Thanks for replying, Vivek.

    I am using the pre built binaries provided with ti's DVSDK_4020006 for DM3730, i think that, this DVSDK, do not contain the fix to support the resolutions that are not  multiple of 16. 

    Please, help me out in getting QQVGA Resoluition to work with this DVSDK release, also provide the the link to download H264 encoder server that support the resolutions that are not multiple of 16.

    Thanks

    Jitendra

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jitendra Kumar
    Posted by Jitendra Kumar
    on Jul 05 2011 01:19 AM
    Verified Answer
    Verified by Jitendra Kumar
    Intellectual285 points

    Hi Vivek,

    We are using h264 encoder version 01.00.02.00 and it has been mentioned in release notes that this release of H264 Encoder, supports non-multiple of 16 resolutions with below constraints:

                                       Height and Width shall be mutiple of 2
                                       Capture Width shall be multiple of 16 (pixel units)

    Follow the below link for supporting resolutions that are non-multiple of 16:

    http://processors.wiki.ti.com/index.php/DM36x_H.264_encoder_FAQ#Does_encoder_support_non_multiple_of_16_resolution.3F

    thanks

    jitendra

     

    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