• 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 » idrFrameInterval on DM3730 have or not ?
Share
Multimedia Software Codecs
  • Forum
Options
  • Subscribe via RSS

Forums

idrFrameInterval on DM3730 have or not ?

  • Sajja Atikij
    Posted by Sajja Atikij
    on Apr 10 2012 04:01 AM
    Prodigy250 points

    Dear Anyone,

    We are implement dm3730 for streaming H.264 codec to another dm3730 board, and using TI DVSDK 4.03 for base.

    We would like to use "idrFrameInterval" feature on dm3730 but we can't found any implement.
    but we found this "idrFrameInterval" parameter inside dm365 only.

    My question is "idrFrameinterval" is hardware or software DSP parameter ?
    If it is hardware parameter that mean we can't using idrFrameInterval from dm3730 , right ?

    If not all above, Could you please guide me to bring it up on dm3730 ?

    Thank you in advance .
    Sajja A.

    DM3730 H.264 codec
    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 10 2012 07:35 AM
    Prodigy210 points

    Hi Sajja A,

     DM3730 H.264 encoder encodes each intra frame as IDR frame.
     So intraFrameInterval (software parameter) directly controls IDR frame interval (as it does not support non-IDR Intra frames)
     Treatment of I frame as IDR frame is also mentioned in the encoder user guide.

    Regards,
    Jay

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sajja Atikij
    Posted by Sajja Atikij
    on Apr 10 2012 22:36 PM
    Prodigy250 points

    Dear Jay,


    "Treatment of I frame as IDR frame is also mentioned in the encoder user guide"

    Could you share encoder user guide to me ?
    Thank you in advance .

    Best Regards,
    Sajja A.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sajja Atikij
    Posted by Sajja Atikij
    on Apr 10 2012 23:59 PM
    Prodigy250 points

    Dear Jay,

    Refer to H.264 streaming,
    We need IDR frame (NAL type=5) from TI encoder to let rtph264pay (config-interval=1) insert SPS/PPS frame (NAL type=7,8) before streaming out.
    If TI codec didn't have IDR frame , rtph264pay will not send SPS/PPS frame.

    According to what I had read from TI document and source code,I also got the same feeling that intraframeinterval may help controlling the idrframeinterval since the code made me think that TI encoder treats every I frame as an IDR frame.

    gst-launch v4l2src ! video/x-raw-yuv,width=640,height=480,framerate=15/1 ! ffmpegcolorspace ! dmaiaccel ! dmaienc_h264 intraframeinterval=5 targetbitrate=320768 ! rtph264pay config-interval=1 ! udpsink host=192.168.1.63 port=4004 --gst-debug=rtph264pay:4

    Refer to example of pipeline above:
    Result is TI encoder is only sent NAL Unit Type 5, which refers to IDR frame only at the beginning of the stream.  Next, NAL Unit Type 7 and 8 are consecutively sent which means SPS/PPS are correctly sent.  (NAL type train is :  5 7 8 1 1 1 9 1 1 1 9 ... 1 1 1 9 1 1 1 9 ) (NOT WORK)

    This results in the fact that the stream won't be able to decode at all without using a complete RTP caps with sprop-parameter-sets parameter (which is a bit out-dated method and is no longer used in several video calling system) .

    If TI really send IDR frame it's will be ( NAL type train: 5 7 8 1 1 1 6 5(TI) 7(rtph264pay) 8(rtph264pay) 1 1 ... 1 9 5(TI) 7(rtph264pay) 8(rtph264pay) 1 1 9 ... )  (WORK)

    So DM3730 Is possible to send IDR Frame (NAL type = 5) like dm365 ?  or any advise ?
    Much thank you in advance

    Best Regards,
    Sajja A.

    DM3730 gstreamer H.264
    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 11 2012 01:12 AM
    Genius15110 points

    Sajja,

    It should be in the dvsdk package itself. There will be a dcos folder paralle to the lib folder containing the codec library, you can search for that. It is in PDF format.

    regards

    Yashwant

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sajja Atikij
    Posted by Sajja Atikij
    on Apr 11 2012 01:51 AM
    Prodigy250 points

    Dear Yashwant,

    very thank you for locate document,
    Am I need to implement idrFrameInterval parameter DSP by myself ? Is it possible ?

    Dear ALL <Really need help>

    DM3730
    Is possible to send IDR Frame (NAL type = 5) from hardware encode from dm3730 like dm365 ?  or any advise ? 


    Thank you in advance.

    DM3730 H.264 codec gstreamer
    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