• 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 » DM365 MPEG2Encoder Problem
Share
Multimedia Software Codecs
  • Forum
Options
  • Subscribe via RSS

Forums

DM365 MPEG2Encoder Problem

This question is not answered
Samer Tufail
Posted by Samer Tufail
on Mar 12 2012 09:12 AM
Prodigy210 points

Hi,

This is about DVSDK 4.02 and the DM365 for mpeg2. Using the MPEG2 Encoder is you try to set the bitrate above 4000000 the encoder gives an error and rejects the arguments for the bitrate. This has been verified using gstreamer ti which makes use of the mpeg2 encoder on the dm365.

Is there a way to get past this limitation and increase the bitrate to something more than 4000000?.

Thanks for your help

Regards,

Sam

DM365 + DVSDK DM365 Mpeg2Encoder
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Yashwant Dutt
    Posted by Yashwant Dutt
    on Mar 14 2012 03:10 AM
    Genius15110 points

    Hi Samer,

    There is a maxBitrate parameter in codec static parameters, can you pls check its value. if the tragetBitrate which is part of dynamic parameter exceeds the maxBitrate, you may get error.

    regards

    Yashwant

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Samer Tufail
    Posted by Samer Tufail
    on Mar 14 2012 08:56 AM
    Prodigy210 points

    Thank you Yashwant

    I am already supplying that value, it is as follows:

    targetbitrate=5000000 maxbitrate=10000000

    However the encoder is still rejecting the arguments. I have tried both CBR and VBR but it doesn not seem to make a difference. The encoder version is the latest 1.00.00.00.07.

    Best Regards,

    Samer

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jay Shingala
    Posted by Jay Shingala
    on Apr 04 2012 08:14 AM
    Prodigy210 points

     

    Hi Samer,

      Can you please let us know what is the extendError returned after  control call fails. This extended error comes as part of videnc status buffer.   
      
      This error can occur when the bitrate exceeds the max bit rate supported for a particular level in Mpeg2 Standard.  
      Following table lists the max bitrate supported and max luma samples per second for each mpeg2 level 
      
       Level                                                MaxBitRate            MaxLumaSamples/Sec
       MPEG2_LOW_LEVEL                   4Mbps                   3041280
       MPEG2_MAIN_LEVEL                 15Mbps                10368000
       MP_HIGH1440_LEVEL               60Mbps                47001600
       MP_HIGH_LEVEL                        80Mbps                62668800
       
      Also note that encoder automatically chooses level based on target luma samples encoded per second
      If it so happens that target resolution and frame rate resulted in encoder selecting MPEG2_LOW_LEVEL, but bitrate is higher than the 4mpbs (max for MPEG2_LOW_LEVEL)  you may get a control call error.
     
      As an examplwe if you set target resolution of 352x288 @ 30fps and bitrate of 5mbps this error could occur.

     Regards,
     Jay
     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Samer Tufail
    Posted by Samer Tufail
    on Apr 18 2012 08:11 AM
    Prodigy210 points

    Hi Jay,

    Sorry for the late reply. Im not sure I can check what the control call returns. As an example can you tell me what resolution I need to set to have the appropriate bitrate selected for say 5 or 6mbps?

    Best Regards,

    Samer

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Yashwant Dutt
    Posted by Yashwant Dutt
    on Apr 26 2012 00:36 AM
    Genius15110 points

    Samer,

    Filling in for Jay -

    below is the limits w.r.t resolution, bitrate and lumasamples/sec for different levels in mpeg2.

    For details he can check Table 8-11, 8-12 and 8-13 of the mpeg2 standard ISO/IEC 13818-2:2000(E).

     

                    Level                     Max Resolution                MaxLumaSamples/Sec                  MaxBitRate

                    LOW                      352*288                                 3041280                                              4Mbps

                    MAIN                    720*480                               10368000                                             15Mbps

                    HIGH_1440         1440*1088                           47001600                                             60Mbps

                    HIGH                     1920*1088                           62668800                                             80Mbps

     

    regards

    YD

    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