Unable to play youtube videos(ICS)

Bug #897133 reported by Abhishek Paliwal
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Linaro Android
Won't Fix
High
Annamalai Lakshmanan

Bug Description

Unable to play youtube videos on :
https://android-build.linaro.org/builds/~linaro-android/tracking-panda/#build=77

Youtube webpage opens but when selecting the video playback does not happen.

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Zach Pfeffer (pfefferz) wrote :

Still on, 11.12 Preview Release Candidate 2 builds.

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
summary: - Unable to play youtube videos
+ Unable to play youtube videos(ICS)
Revision history for this message
vishal (vishalbhoj) wrote :
Revision history for this message
vishal (vishalbhoj) wrote :
Revision history for this message
vishal (vishalbhoj) wrote :
Revision history for this message
vishal (vishalbhoj) wrote :
Revision history for this message
Amit Pundir (pundiramit) wrote :
Revision history for this message
Tony Mansson (tony-mansson) wrote :
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
vishal (vishalbhoj) wrote :
Revision history for this message
vishal (vishalbhoj) wrote :
Zach Pfeffer (pfefferz)
Changed in linaro-android:
importance: Medium → High
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Amit Pundir (pundiramit) wrote :
Revision history for this message
Zach Pfeffer (pfefferz) wrote :
Changed in linaro-android:
milestone: none → 12.03
assignee: nobody → Bernhard Rosenkraenzer (berolinux)
status: New → Confirmed
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Zach Pfeffer (pfefferz)
Changed in linaro-android:
importance: High → Medium
importance: Medium → High
Zach Pfeffer (pfefferz)
Changed in linaro-android:
assignee: Bernhard Rosenkraenzer (berolinux) → Abhishek Paliwal (abhishek-paliwal)
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :

Also observed on :
https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc46-omapzoom-stable-blob-12.03-release/#build=1

Try playing:
http://www.youtube.com/watch?v=F_NR_goi6iA

Logs:
====
I/ActivityManager( 160): START {act=android.intent.action.VIEW dat=http://www.youtube.com/watch?v=F_NR_goi6iA flg=0x10000000 cmp=com.android.browser/.BrowserActivity} from pid 896
D/dalvikvm( 896): GC_CONCURRENT freed 97K, 82% free 481K/2560K, paused 1ms+0ms
D/WebViewTimersControl( 818): onBrowserActivityPause
D/WebViewTimersControl( 818): Pausing webview timers, view=com.android.browser.BrowserWebView@41106640
D/WebViewTimersControl( 818): onBrowserActivityResume
D/WebViewTimersControl( 818): Resuming webview timers, view=com.android.browser.BrowserWebView@41229408
W/BaseUi ( 818): mMainView is already attached to wrapper in attachTabToContentView!
W/BaseUi ( 818): mContainer is already attached to content in attachTabToContentView!
E/MediaPlayer( 818): Error (-38,0)
D/dalvikvm( 818): GC_CONCURRENT freed 596K, 9% free 7919K/8647K, paused 2ms+3ms
W/Tab ( 818): Failed to save back/forward list for http://www.youtube.com/watch?v=F_NR_goi6iA
D/dalvikvm( 818): GC_CONCURRENT freed 284K, 6% free 8136K/8647K, paused 2ms+3ms
E/AudioFlinger( 94): createTrack_l() Bad parameter: sampleRate 44100 format 1, channelMask 0x00000001 "for output 0xff28 with format 1
E/AudioTrack( 160): AudioFlinger could not create track, status: -22
E/SoundPool( 160): Error creating AudioTrack
E/MediaPlayer( 818): pause called in state 0
E/MediaPlayer( 818): error (-38, 0)
W/TimedEventQueue( 94): Event 158 was not found in the queue, already cancelled?
F/OMXCodec( 94): frameworks/base/media/libstagefright/OMXCodec.cpp:1639 CHECK(mState == LOADED || mState == ERROR || mState == LOADED_TO_IDLE) failed.
F/libc ( 94): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
I/DEBUG ( 89): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 89): Build fingerprint: 'pandaboard/pandaboard/pandaboard:4.0.3/IML74K/1:eng/test-keys'
I/DEBUG ( 89): pid: 94, tid: 137 >>> /system/bin/mediaserver <<<
I/DEBUG ( 89): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 89): r0 deadbaad r1 401036a8 r2 00000027 r3 00000000
I/DEBUG ( 89): r4 00000000 r5 4131c814 r6 40b9ff28 r7 0003b2fc
I/DEBUG ( 89): r8 40209e70 r9 000003f5 10 4010a5f0 fp 00000001
I/DEBUG ( 89): ip 4008f174 sp 4131c800 lr 400d763b pc 400d408c cpsr 60000130
I/DEBUG ( 89): d0 64656c6961662029 d1 454c44495f4f545f
I/DEBUG ( 89): d2 207c7c20524f5252 d3 3d2065746174536d

====

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Tony Mansson (tony-mansson) wrote :
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Annamalai Lakshmanan (annamalai-lakshmanan) wrote :
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
vishal (vishalbhoj) wrote :
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Zach Pfeffer (pfefferz)
Changed in linaro-android:
assignee: Abhishek Paliwal (abhishek-paliwal) → Annamalai Lakshmanan (annamalai-lakshmanan)
milestone: 12.03 → 12.04
Revision history for this message
Annamalai Lakshmanan (annamalai-lakshmanan) wrote :

Youtube is dependent on HW Acceleration: So First HW acceleration has to be enabled, It uses StageFright Decode.

Revision history for this message
Annamalai Lakshmanan (annamalai-lakshmanan) wrote :

For YouTube Playback, Stage Fright requires ANB(Android Native BUffer support) to be composed by SurfaceFlinger for Final Rendering. But when using Media Player Gallery Application, It is OK to use HW Overlay mechanism for final rendering.

So Need to Add ANB, Give Support in Gralloc for continuous memory allocation using FIMC or UMP and Use them in OMX decode, and Pass it via StageFright

Revision history for this message
Annamalai Lakshmanan (annamalai-lakshmanan) wrote :

Currently Put on Hold:

It is seen that there is a dependency on Gralloc Module and EGL module.
So, Working with Graphics Team On this.

Revision history for this message
Annamalai Lakshmanan (annamalai-lakshmanan) wrote :

Hopefully Migrating to Linaro 3.3 UMM based solution can clean up the messy situation of buffer sharing, EGL composition etc..

Revision history for this message
Annamalai Lakshmanan (annamalai-lakshmanan) wrote :

Won't Fix in Origen as of Now, as Drivers, Kernel all getting upgraded to latest and greatest

Changed in linaro-android:
status: Confirmed → Won't Fix
Revision history for this message
Zach Pfeffer (pfefferz) wrote :

This has a dependency on the current kernel, which is changing.

Changed in linaro-android:
milestone: 12.04 → obsolete
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Botao (botao-sun) wrote :

For iMX53, observed on:

https://android-build.linaro.org/builds/~linaro-android/imx53-ics-gcc47-freescalelt-stable-open-12.04-release/#build=1

Here is the log output from serial console:

E/MediaPlayer( 1756): Attempt to perform seekTo in wrong state: mPlayer=0xc0d9c0
E/MediaPlayer( 1756): error (-38, 0)
E/MediaPlayer( 1756): Attempt to perform seekTo in wrong state: mPlayer=0xc0d9c0
E/MediaPlayer( 1756): error (-38, 0)
E/MediaPlayer( 1756): start called in state 0
E/MediaPlayer( 1756): error (-38, 0)
E/MediaPlayer( 1756): Error (-38,0)
E/MediaPlayer( 1756): Error (-38,0)
E/MediaPlayer( 1756): Error (-38,0)
I/NuCachedSource2( 1083): Keep alive
E/MediaPlayer( 1756): Attempt to perform seekTo in wrong state: mPlayer=0xc0d9c0
E/MediaPlayer( 1756): error (-38, 0)
E/MediaPlayer( 1756): Attempt to perform seekTo in wrong state: mPlayer=0xc0d9c0
E/MediaPlayer( 1756): error (-38, 0)
E/MediaPlayer( 1756): start called in state 0
E/MediaPlayer( 1756): error (-38, 0)
E/MediaPlayer( 1756): Error (-38,0)
E/MediaPlayer( 1756): Error (-38,0)
E/MediaPlayer( 1756): Error (-38,0)

Revision history for this message
Botao (botao-sun) wrote :

For iMX53, observed on:

https://android-build.linaro.org/builds/~linaro-android/imx53-ics-gcc47-freescalelt-stable-open-12.05-release/#build=2

The YouTube video preview picture can be shown on the main page, but after click it, it can't be played back. There is a black screen.

Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.