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 640x360D/AwesomePlayer( 1347): initRenderer_l 640x360/TIHardwareRenderer( 1347): Use YUV420_PLANAR -> YUV422_INTERLEAVED_UYVY convedD/TIOverlay( 1413): Enabling the OVERLAY[0]I/Overlay-V4L2( 1413): Openning /dev/video1D/TIOverlay( 1413): Creating overlay from W640/H360/FMT33 ...E/Overlay-V4L2( 1413): Error = Invalid argument from set output format. errno =2E/Overlay-V4L2( 1413): Error = Invalid argument from set crop. errno = 22E/TIOverlay( 1413): Failed defaulting crop windowE/MemoryHeapBase( 1347): error opening /dev/pmem_adsp: No such file or directoryI/SoftwareRenderer( 1347): Creating physical memory heap failed, reverting to r.D/MediaPlayer( 1741): getMetadataD/AwesomePlayer( 1347): initRenderer_l 640x368D/AwesomePlayer( 1347): initRenderer_l 640x368D/AwesomePlayer( 1347): Codec Recommended outputBuffer count after portreconfig1E/VideoView( 1741): VideoPlaybackBroadcastReceiver intent is NULL!I/gralloc ( 1413): Allocated 1024 x 600 fmt: 1 usage: 0x133I/gralloc ( 1413): Allocated 1024 x 130 fmt: 1 usage: 0x133W/AudioFlinger( 1347): write blocked for 746 msecs, 1 delayed writes, thread 0x0I/gralloc ( 1413): Allocated 1024 x 130 fmt: 1 usage: 0x133D/wpa_supplicant( 1564): CMD: DRIVER RSSI-APPROXD/wpa_supplicant( 1564): wpa_driver_tista_driver_cmd RSSI-APPROX
Appreciate your comments/ help.
Thanks!
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.------------------------------------------------------------------------------------------------------------------
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!
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
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