• 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 » OMAP™ Applications Processors » OMAP 4 Forum » (OMAP 4430) L27.G.5_OMAP4430_GingerBread_Release: green bar on top of video and color mismatch
Share
OMAP™ Applications Processors
  • Forums
Options
  • Subscribe via RSS

(OMAP 4430) L27.G.5_OMAP4430_GingerBread_Release: green bar on top of video and color mismatch

(OMAP 4430) L27.G.5_OMAP4430_GingerBread_Release: green bar on top of video and color mismatch

This question is answered
Mooi Mooi Tan
Posted by Mooi Mooi Tan
on May 16 2012 20:50 PM
Prodigy240 points

Hi,

I'm working on an android tablet project running on TI OMAP4430 with Gingerbread 2.3.5, kernel 2.6.35 (customized from L27.G.5 release). When I run youtube, i'm seeing green bar on top of the video and the color is a bit pushed down (not matching). I'm curious if someone has seen this problem?

I understand that the hardware acceleration option might have caused this problem but I have no idea where can I disable this option. Or it was not even enabled in Gingerbread at the first place?

Here is the partial messages that I see from logcat when running a video:

D/AwesomePlayer( 1347): initRenderer_l 640x360
D/AwesomePlayer( 1347): initRenderer_l 640x360
/TIHardwareRenderer( 1347): Use YUV420_PLANAR -> YUV422_INTERLEAVED_UYVY conved
D/TIOverlay( 1413): Enabling the OVERLAY[0]
I/Overlay-V4L2( 1413): Openning /dev/video1
D/TIOverlay( 1413): Creating overlay from W640/H360/FMT33 ...
E/Overlay-V4L2( 1413): Error = Invalid argument from set output format. errno =2
E/Overlay-V4L2( 1413): Error = Invalid argument from set crop. errno = 22
E/TIOverlay( 1413): Failed defaulting crop window
E/MemoryHeapBase( 1347): error opening /dev/pmem_adsp: No such file or directory
I/SoftwareRenderer( 1347): Creating physical memory heap failed, reverting to r.
D/MediaPlayer( 1741): getMetadata
D/AwesomePlayer( 1347): initRenderer_l 640x368
D/AwesomePlayer( 1347): initRenderer_l 640x368
D/AwesomePlayer( 1347): Codec Recommended outputBuffer count after portreconfig1
E/VideoView( 1741): VideoPlaybackBroadcastReceiver intent is NULL!
I/gralloc ( 1413): Allocated 1024 x 600 fmt: 1 usage: 0x133
I/gralloc ( 1413): Allocated 1024 x 130 fmt: 1 usage: 0x133
W/AudioFlinger( 1347): write blocked for 746 msecs, 1 delayed writes, thread 0x0
I/gralloc ( 1413): Allocated 1024 x 130 fmt: 1 usage: 0x133
D/wpa_supplicant( 1564): CMD: DRIVER RSSI-APPROX
D/wpa_supplicant( 1564): wpa_driver_tista_driver_cmd RSSI-APPROX

Appreciate your comments/ help.

Thanks!

green bar top video omap4430 gingerbread color
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Chintan Patel
    Posted by Chintan Patel
    on May 17 2012 06:51 AM
    Intellectual1410 points

    Did you happen to test same thing on earlier releases like L27.13.1? 

    The only thing I can tell by looking at log is that your decoder output is YUV planner and it is getting converted into NV12 format to your video device. Please have a look at the file mydroid\hardware\ti\omap3\libstagefrighthw\TIHardwareRenderer.cpp.

    It will be good if you can attach complete #logcat of YouTube playback. Also if possible take a picture while video is showing artifacts it will give clear idea as well that what kind of problem you are referring.

    ------------------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    ------------------------------------------------------------------------------------------------------------------

    YouTube Overlay
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mooi Mooi Tan
    Posted by Mooi Mooi Tan
    on May 17 2012 11:39 AM
    Prodigy240 points
    log_youtube.txt

    Hi, thanks for your reply.

    No, we started with L27.12.1-P2 on Pandaboard but later on switched to L27.G.5. So I only have tested the prototype with the G5 release.

    I will take a look at "mydroid\hardware\ti\omap3\libstagefrighthw\TIHardwareRenderer.cpp" file next.

    Attached is the complete log file when I was running youtube, together with a picture of the video. Another thing that I would like to add on is, this problem arise when I run the mp4 video too, specifically 640x360 resolution. I tried running 480x320 resolution video and it looked OK.

    Appreciate your comments/ advice. Thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Chintan Patel
    Posted by Chintan Patel
    on May 18 2012 08:22 AM
    Intellectual1410 points

    Please attach the working log 480x320 also. It will help to identify the difference.

    Have a look at the file mentioned for more debug. Just to add one observation 360 is not multiple of 16 while 320 is multiple of 16.

    Regards,

    Chintan

    ------------------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    ------------------------------------------------------------------------------------------------------------------

    YouTube Overlay
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Chintan Patel
    Posted by Chintan Patel
    on May 21 2012 03:56 AM
    Verified Answer
    Verified by Magdalena Iovescu
    Intellectual1410 points

    Just checking:

    Is it possible for you to check out this issue on latest ICS release? Here is the link.

    http://www.omappedia.com/wiki/4AI.1.4_OMAP4_Icecream_Sandwich_Release_Notes

    Regards,

    Chintan

    ------------------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    ------------------------------------------------------------------------------------------------------------------

    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