OMX.google.h264.decoder playback aborts on Android with: 'Timed out waiting for output buffers: 0/1

RESOLVED FIXED in mozilla20

Status

()

RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: aaronmt, Assigned: eflores)

Tracking

unspecified
mozilla20
ARM
Android
Points:
---

Firefox Tracking Flags

(firefox17 affected, fennec+)

Details

(Whiteboard: [swdecoder], URL)

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
...

I/OmxPlugin( 3884): data: 0x6901f400 size: 353280 offset: 0 length: 353280 unreadable: 0
I/OmxPlugin( 3884): data: 0x68fc9000 size: 353280 offset: 0 length: 353280 unreadable: 0
I/OmxPlugin( 3884): data: 0x6901f400 size: 353280 offset: 0 length: 353280 unreadable: 0
E/OMXCodec( 3884): [OMX.google.h264.decoder] Timed out waiting for output buffers: 0/1

http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4

$ adb shell am start -a android.intent.aciton.VIEW -n org.mozilla.fennec/.App -d http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4

Playback begins smoothly and continues to degrade until it abruptly stops with the above message to console.

--
Samsung Galaxy Nexus (Android 4.1.1)
Mozilla-Inbound
20120820060900
http://hg.mozilla.org/integration/mozilla-inbound/rev/fedc45481456
tracking-fennec: ? → 16+
Blocks: 759945
No longer blocks: 759945

Updated

6 years ago
Whiteboard: [swdecoder]
Assignee: nobody → chris.double
tracking-fennec: 16+ → 17+
Assignee: chris.double → eflores
> Timed out waiting for output buffers: 0/1

It seems that this timed out happen when OMXCodec's client grab too much MediaBuffer. In stagefright, AwesomePlayer concurrently own at most only one video frame.

following is my related comment in the past.
https://bugzilla.mozilla.org/show_bug.cgi?id=714408#c78
Thought as much. It looks like it allocates far fewer buffers on my phone than it does on B2G, though. I wonder if that means we can dial it back for B2G.
tracking-fennec: 17+ → +
Created attachment 681199 [details] [diff] [review]
Fix

Well that was straightforward.
Attachment #681199 - Flags: review?(chris.double)

Comment 4

6 years ago
How does this affect non-media plugin playback on Android? Have you done a try server run to see if it breaks anything there?

Updated

6 years ago
Attachment #681199 - Flags: review?(chris.double) → review+
Why hasn't this landed?

Comment 8

6 years ago
https://hg.mozilla.org/mozilla-central/rev/53c75e6f0f66
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in before you can comment on or make changes to this bug.