• 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 » Regarding DM8168 MPEG-2 Decoder
Share
Multimedia Software Codecs
  • Forum
Options
  • Subscribe via RSS

Regarding DM8168 MPEG-2 Decoder

Regarding DM8168 MPEG-2 Decoder

This question is not answered
Yongying Gao
Posted by Yongying Gao
on Jul 29 2012 22:29 PM
Prodigy40 points

I have a question regarding the DM8168 MPEG_2 Decoder:

 

I am currently working on decoding the MPEG-2 bitstream using the OMX-based MPEG-2 decoder while I found the interlaced video was not correctly decoded. I use the provided tool to cut the bitstream into frame unit. However, according to the source code, the segment is PICTURE but NOT FRAME in case of interlaced video. So what I am concerned is: does the current SDK cannot handle the interlace video(the MPEG-2 decoder shall do it in terms of the spec) or it can but I need to modifiy the bitstream-cutting tool to feed the decoder a whole frame?

Thanks in advance for your nice help!

Regards,

-Yongying

8168 8168 ezsdk omx
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 Sep 28 2012 06:13 AM
    Genius15110 points

    Sorry for the delay, looks like this post got missed, are you still chasing this issue ?

    regards

    Yashwant

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • llano4
    Posted by llano4
    on Sep 28 2012 21:06 PM
    Prodigy230 points

    Hi,

     I also encountered interlaced issue of MPEG2.

    All Mpeg2 bitstream I am using is interlaced ones. I write a tool to cut the bitstream in frame basis.

    It can correctly feed the decoder a whole frame and decoder does correctly output the frame.

    However the output YUV of decoder is field separate which the top and bottom field are the same.

    I thought it is not a big deal as I will encode this YUV by h262 encoder and h264 encode should handle this field separate YUV buffer.

    But, I tried so many h264 parameter settings and still can not get it.

    I am using EZSDK504, can you help me out of here? what parameters should I use in 264 encoder or mpeg2 decoder?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Yongying Gao
    Posted by Yongying Gao
    on Oct 07 2012 02:22 AM
    Prodigy40 points

    Dear Yashwant,

    Yeah...We are still struggling against this interlace issue....Do you have any ideas about it?

    Thanks.....

     

    Yongying

    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 Oct 19 2012 06:59 AM
    Genius15110 points

    I have fwded this to EZSDK experts, they will reply back soon.

    regards

    Yashwant

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vimal Jain
    Posted by Vimal Jain
    on Oct 20 2012 11:10 AM
    Expert6535 points

    Hi,

    which cutting tool are you using  for giving frames to MPEG2 decoder. Parser available in EZSDK is for example purpose and can not parse all the streams. Also decoder gives both fields in same buffer ( top and bottom field which can look same), It needs to be de-interlaced for display.

    Regards

    Vimal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • llano4
    Posted by llano4
    on Oct 20 2012 21:01 PM
    Prodigy230 points

    Hi Vimal,

    The parser is written by us and can make sure it feeds one frame per time correctly.

    The decoder's ouptut, just as you said, is field separate.  We don't display it but need re-encode it into h264 stream. 

    The question is h264 can encoder encode this buffer just as normal NV12 picture format, so encoded h264 stream will show two same fields when decoded.

    So, how can we feed this field separate buffer to h264 encoder?

    Thanks,

    Llano

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vimal Jain
    Posted by Vimal Jain
    on Nov 05 2012 00:51 AM
    Expert6535 points

    Hi,

    You would need to set inputContentType in static parameters. For details on static parameter refer to codec user guide.

    Also Have a look at following link for setting up static parameters in OMX.

    http://processors.wiki.ti.com/index.php/OMX_VENC  --

    " How to modify static parameters of codec ? "

    Regards

    Vimal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • llano4
    Posted by llano4
    on Nov 15 2012 23:23 PM
    Prodigy230 points

    Hi Vimal,

    We tried inputContentType, but didn't work.

    We will try again.

    Thanks,

    Llano

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • llano4
    Posted by llano4
    on Nov 18 2012 20:28 PM
    Prodigy230 points

    Hi Jain,

    It works now, thanks a lot.

    Regards,

    Llano

    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