• 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 » H.264 decode interlace SD video problems
Share
Multimedia Software Codecs
  • Forum
Options
  • Subscribe via RSS

H.264 decode interlace SD video problems

H.264 decode interlace SD video problems

This question is not answered
timothybean
Posted by timothybean
on Apr 20 2012 09:00 AM
Expert1010 points

Hi all,

I have been playing with my application a little bit (based on Gstreamer) When I try to decode a SD interlaced H.264 video, the decoder fails out with error "-1 etx: 0xC000"

From what I have gathered so far, the 0xC000 is a parameter that the decoder does not like about the stream and it is a fatal error. Is that a correct analysis? And, if that is, how can I go about getting this stream to play? I am pulling this from a RTSP stream and playing. I know that my setup is correct because I can play all kinds of other streams (progressive H.264/MPEG4).

The stream plays fine in VLC, so this just seems to be a compatibility issue for some reason. Can someone point me in the right direction of how to get this playing the stream?

If anyone can take a look, you can access the stream from the following URL in VLC:

rtsp://streaming3.mstraffic.com:1935/rtpinternal/031905-hq.stream

Maybe someone at TI can look at the video and tell me what is wrong with it?

System:

DVSDK 2.10

Gstreamer 1.01

DM368

Thanks

Tim

GStreamer DM368 DM365 H264 Decoder H.264 over RTP
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Veeranna Hanchinal
    Posted by Veeranna Hanchinal
    on Apr 22 2012 23:22 PM
    Expert5265 points

    Hi Tim,

    I am not able to access the video. Can you attach the video here?. Or there is file based stand alone test application provided with decoder release package you can try to decode stream using this application.

    What is version of decoder you are using? if you are not using 02.00.00.13 version please upgrade to it.

    link for the codec package is http://software-dl.ti.com/dsps/dsps_public_sw/codecs/DM36x/index_FDS.html

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • timothybean
    Posted by timothybean
    on Apr 22 2012 23:55 PM
    Expert1010 points

    Click here to play this video

    Can you check this file out for me? I recorded it into MP4 file.

    Thanks

    Tim

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • timothybean
    Posted by timothybean
    on Apr 22 2012 23:58 PM
    Expert1010 points

    Click here to play this video

    Can you check this out for me?

    Thanks

    Tim

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Veeranna Hanchinal
    Posted by Veeranna Hanchinal
    on Apr 24 2012 05:52 AM
    Expert5265 points

    Hi Tim,

    Your attached stream successfully decoded. Can you please tell which decoder mode you are using? If you are not setting universal mode, please set it.

    Please note that, this stream is not starting with IDR, so you can expect error from decoder till it gets IDR.

    Thanks,

    Veeranna

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • timothybean
    Posted by timothybean
    on Apr 24 2012 09:58 AM
    Expert1010 points

    Hi Veeranna,

    Thanks for looking at it for me. I am using Gstreamer for decoding. But I am on DVSDK 2.1 and using it out of the box. So, I think that Gstreamer TI uses the default settings on the decoder. But, I am getting back a fatal error when I try to decode (this is from RTP stream, not from file) Should I just ignore that errors until the stream starts? I assume that the decoder is set for universal out of the box? But, if that is not the case can you tell me how to change it?

    Thanks

    Tim

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • timothybean
    Posted by timothybean
    on Apr 24 2012 10:04 AM
    Expert1010 points

    Veeranna,

    Also, lets assume that I try to keep decoding. How will I know how much data to progress forward before sending more data to the decoder? Since the decoder did not decode the frame, I will not know how much data was used correct?

    Thanks

    Tim

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Veeranna Hanchinal
    Posted by Veeranna Hanchinal
    on Apr 25 2012 06:10 AM
    Expert5265 points

    Hi Tim,

    If you are using base param mode, then default decoder mode will be universal. you can check this by having look at what size you are passing to parameter struct.

    As you said you are able progressive streams, from where you are getting streams? from DM36x TI encoder or else?.  And to change any params or to use extended params please refer testapp provided with release package or http://processors.wiki.ti.com/index.php/Extending_data_structures_in_XDM.

    Regarding data feeding to decoder, application need not worry as decoder sends bytes consumed in process call you just need to add this offset while sending ptr to next process call.

    I kindly suggest you to refer test application and run it with your stream. It is very simple and can change any parameter and you can understand codec interface better.

    test app will be found at dm365_h264dec_02_00_00_xx_production\packages\ti\sdo\codecs\h264dec\apps.

    Thanks,

    Veeranna

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • timothybean
    Posted by timothybean
    on Aug 14 2012 11:04 AM
    Expert1010 points

    Veeranna,

     

    Can you look at my other post please?

     

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

     

    http://pastebin.com/EPwtSZkT

     

     

     

    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