• 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 MPEG2 Encode unexpected Green Overrapping
Share
Multimedia Software Codecs
  • Forum
Options
  • Subscribe via RSS

Forums

DM365 MPEG2 Encode unexpected Green Overrapping

This question is answered
Takeshi Yuasa
Posted by Takeshi Yuasa
on Feb 12 2012 05:08 AM
Intellectual790 points

Hi


We are facing with DM365 MPEG2 Encoding troubles such as unexpected Block Noise and unexpected Green Overlapping at each macro block basis.
Please look at the sample small bitmap file for your understanding.
(GreenErrorSample.bmp)

Are there any countermeasures?

・MPEG-2 Encoder: 01.00.00.08
・DVSDK: 2.10.01.18
・Input: NTSC/PAL
・VBR
the parameters will be posted later.

If you see the attached mpeg file (test45_MPEG2_NTSC_M2N5_p_0.mpg) which was generated by DM365 Codec, you can find out all of the I Frames are overlapped Green and different from all of P frames.
It is a little bit hard to see with the naked eye but if you analyze with some mpeg analysis you could definitely could find.

Anybody help us.

Regards,
Takeshi

Click here to play this video

MPEG2 Encode overlap DM365
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Neelakanth Shigihalli46390
    Posted by Neelakanth Shigihalli46390
    on Feb 12 2012 22:57 PM
    Intellectual360 points

    Takeshi-san,

    Please elaborate on the issue that you are seeing. I tried using elecard botstream analyzer and could not understand. Please explain more.

    Also do an experiment on your side. Write the YUV to a file before encoding. Analyse the YUV for green overlap. If there is green overlap in the capture then encoder is fine and we will ask capture driver team to look into it.

     

    Regards,

    Neelakanth

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Neelakanth Shigihalli46390
    Posted by Neelakanth Shigihalli46390
    on Feb 12 2012 22:58 PM
    Intellectual360 points

    Takeshi-san,

    Please elaborate on the issue that you are seeing. I tried using elecard bitstream analyzer and could not figure it out. Please explain more.

    Also do an experiment on your side. Write the YUV to a file before encoding. Analyse the YUV for green overlap. If there is green overlap in the capture then encoder is fine and we will ask capture driver team to look into it.

     

    Regards,

    Neelakanth

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Takeshi Yuasa
    Posted by Takeshi Yuasa
    on Feb 12 2012 23:28 PM
    Intellectual790 points

    Neelakanth-san,

    Thank you for quick response. I thought it is very easy to reproduce, but I will let you know how and our parameters later on.
    However, if you look at the following zoom-uped file, you can understand what is happening on our side.

    1) 8x8 macro block noise
    2) Unexpected Green color at 8x8 basis.

    Do you see this kind of phenomena before? Or can you say something that what could cause the problem?

    I'll post the sequence and parameters.

    Regards,
    Takeshi

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Takeshi Yuasa
    Posted by Takeshi Yuasa
    on Feb 13 2012 03:46 AM
    Intellectual790 points

    Neelakanth-san,

    When the customer input only Black & White (CrCb=128), still Green coloar is unexpectedly added.
    Can you advise what is happening to this Encoder?

    The parameters is as below.

    == VIDENC1_Params =========
    	encodingPreset       : 2
    	rateControlPreset    : 1
    	maxHeight            : 480
    	maxWidth             : 720
    	maxFrameRate         : 30000
    	maxBitRate           : 4096000
    	dataEndianness       : 1
    	maxInterFrameInterval: 1
    	inputChromaFormat    : 9
    	inputContentType     : 1
    	reconChromaFormat    : 9
    == IMP2VENC_Params ========
    	aspectRatio          : 2
    	pixelRange           : 1
    	timerResolution      : 30
    	ME_Type              : 1
    	QscaleType           : 0
    	IntraDCPrec          : 0
    	hdvicpHandle         : (nil)
    == VIDENC1_DynamicParams ==
    	inputHeight          : 480
    	inputWidth           : 720
    	refFrameRate         : 30000
    	targetFrameRate      : 30000
    	targetBitRate        : 4096000
    	intraFrameInterval   : 5
    	generateHeader       : 0
    	captureWidth         : 1440
    	forceFrame           : -1
    	interFrameInterval   : 0
    	mbDataFlag           : 0
    
    Regards,
    Takeshi
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Neelakanth Shigihalli46390
    Posted by Neelakanth Shigihalli46390
    on Feb 13 2012 04:17 AM
    Intellectual360 points

    Takeshi-san,

    Check input to encoder? To me looks like it may be some issue with capture.

     

    Regards,

    Neelakanth

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Takeshi Yuasa
    Posted by Takeshi Yuasa
    on Feb 17 2012 00:04 AM
    Intellectual790 points

    Neelakanth-san,

    No. Even if we input no color data (like as U=0x80h, V=0x80h), DM365 generated encoded data with color information.

    The actual unexpected green color is just added as "three value", such as if we put R=95, G=95, B=95 then DM365 Encoder generated like as R=95, G-98, B=95.
    The above still picture was emphasised for easy to understand. Therefore it is dificult to see the differences especially in moving pictures.

    Do you recognize this phenomenon?

    Regards,
    Takeshi

    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 Mar 27 2012 05:35 AM
    Verified Answer
    Verified by Takeshi Yuasa
    Genius15110 points

    This post getting discussed over email though TI FAE. Closing this thread.

    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