Closed Bug 784019 Opened 12 years ago Closed 12 years ago

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

Categories

(Core :: Audio/Video, defect)

ARM
Android
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20
Tracking Status
firefox17 --- affected
fennec + ---

People

(Reporter: aaronmt, Assigned: eflores)

References

()

Details

(Whiteboard: [swdecoder])

Attachments

(1 file)

...

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
Blocks: 787226
No longer blocks: 759945
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+ → +
Attached patch FixSplinter Review
Well that was straightforward.
Attachment #681199 - Flags: review?(chris.double)
How does this affect non-media plugin playback on Android? Have you done a try server run to see if it breaks anything there?
Attachment #681199 - Flags: review?(chris.double) → review+
https://hg.mozilla.org/mozilla-central/rev/53c75e6f0f66
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: