Closed Bug 786071 Opened 7 years ago Closed 7 years ago

Stagefright software decoder fails with OMX_ErrorUnderflow when trying to play 720p or 1080p videos

Categories

(Core :: Audio/Video, defect, P1)

ARM
Android
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox16 --- unaffected
firefox17 --- affected
firefox18 --- affected

People

(Reporter: cpeterson, Assigned: cpeterson)

References

()

Details

(Whiteboard: [swdecoder])

Playing the linked .mp4 video with H264 software decoder fails with OMX_ErrorUnderflow error. I have reproduced this failure on Galaxy Nexus (JB) and and Galaxy S III (ICS).

  /** The buffer was emptied before the next buffer was ready */
  OMX_ErrorUnderflow = (OMX_S32) 0x80001007,

I/OMXClient( 5544): Using client-side OMX mux.
I/OmxPlugin( 5544): media.stagefright.omxcodec.flags=8
I/OMXCodec( 5544): [OMX.google.h264.decoder] AVC profile = 100 (High), level = 31
I/OMXCodec( 5544): [OMX.google.h264.decoder] video dimensions are 320 x 240
I/OMXCodec( 5544): [OMX.google.h264.decoder] Crop rect is 320 x 240 @ (0, 0)
I/OmxPlugin( 5544): stride not available, assuming width
I/OmxPlugin( 5544): slice height not available, assuming height
I/OmxPlugin( 5544): rotation not available, assuming 0
I/OmxPlugin( 5544): width: 320 height: 240 component: OMX.google.h264.decoder format: 19 stride: 320 sliceHeight: 240 rotation: 0
I/SoftAAC2( 5544): Reconfiguring decoder: 44100 Hz, 2 channels
I/OmxPlugin( 5544): channelCount: 2 sampleRate: 44100
E/SoftAVC ( 5544): Decoder failed: -2
E/OMXCodec( 5544): [OMX.google.h264.decoder] ERROR(0x80001001, -1007) OMX_ErrorUnderflow
I/Gecko   ( 5544): ###!!! ASSERTION: C planes with different sizes: 'Error', file /Users/cpeterson/Code/mozilla/central/content/media/nsBuiltinDecoderReader.cpp, line 166
I/Gecko   ( 5544): ###!!! ASSERTION: C planes with different sizes: 'Error', file /Users/cpeterson/Code/mozilla/central/content/media/nsBuiltinDecoderReader.cpp, line 166
No longer blocks: 759945
Whiteboard: [swdecoder]
Test videos:
http://people.mozilla.org/~cpeterson/videos/toodee-720p.mp4
http://people.mozilla.org/~cpeterson/videos/H264_High_Profile_Level_31_1280x720p.mp4
http://people.mozilla.org/~cpeterson/videos/H264_High_Profile_Level_40_1920x1080p.mp4
Summary: Stagefright software decoder fails with OMX_ErrorUnderflow when trying to play toodee-720p.mp4 video → Stagefright software decoder fails with OMX_ErrorUnderflow when trying to play 720p or 1080p videos
Target Milestone: mozilla17 → ---
I can no longer repro this bug.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.