MP4 H.264 High Profile videos not playing

NEW
Unassigned

Status

()

Core
Audio/Video: Playback
4 years ago
2 years ago

People

(Reporter: u421692, Unassigned)

Tracking

({reproducible})

Trunk
ARM
Android
reproducible
Points:
---

Firefox Tracking Flags

(firefox25 affected, firefox26 affected, firefox27 affected, firefox28 affected)

Details

Attachments

(4 attachments)

(Reporter)

Description

4 years ago
Created attachment 823329 [details]
omx_logs

Environment: 
Device: LG Nexus 4 (Android 4.2.2)
Build: Nightly 27.0a1 (2013-10-27)

Steps to reproduce:
1. Open a page that contains H.264 HTML5 video (e.g. http://www.jwplayer.com, http://people.mozilla.org/~atrain/mobile/tests/media.html(H.264 High Profile Level 3.0 (Video)).
2. Play video.

Expected result:
The video is correctly played with video and sound.

Actual result: 
The video starts playing with sound, but the screen is black.
In logcat I see an error:
E/OMXCodec(17985): [OMX.google.h264.decoder] ERROR(0x80001001, -1007).

Note!!!: I was only able to reproduce this issue on LG Nexus 4(Android 4.2.2)
On http://www.jwplayer.com the video is displayed after setting the video quality to 180p

Updated

4 years ago
Component: General → Video/Audio
Keywords: reproducible
Product: Firefox for Android → Core
Version: Firefox 27 → Trunk
Created attachment 823342 [details]
logcat
Reproduced on my Galaxy SIV (Android 4.3)

Comment 3

4 years ago
Does the video play in Chrome or the stock browser? This line says the software decoder is being used:

E/OMXCodec(17985): [OMX.google.h264.decoder] ERROR(0x80001001, -1007).

This is probably why it's not playing as it doesn't support high profile. Can I get a log from the moment the video playback is attempted up to that error? In particular I want to see the attempts at iterating through the various decoders on the device.
Created attachment 823359 [details]
log

(In reply to Chris Double (:doublec) from comment #3)
> Does the video play in Chrome or the stock browser? This line says the
> software decoder is being used:
> 
> E/OMXCodec(17985): [OMX.google.h264.decoder] ERROR(0x80001001, -1007).

On my Galaxy SIV (Android 4.3), on Chrome 30.0 the video does play.
 
> This is probably why it's not playing as it doesn't support high profile.
> Can I get a log from the moment the video playback is attempted up to that
> error? In particular I want to see the attempts at iterating through the
> various decoders on the device.

Sure, see attached. Audio playback works.
Created attachment 823364 [details]
logcat-debug

from a debug build on my device as well
Sounds like bug 869168/bug 869170.

Comment 7

4 years ago
Looks like this is the cause:

10-28 12:33:32.945: I/OmxPlugin(17985): Unknown video color format: 0x7fa30c03
10-28 12:33:32.945: I/OmxPlugin(17985): Falling back to software decoder

0x7fa30c03 is QOMX_COLOR_FormatYUV420PackedSemiPlanar64x32Tile2m8ka according to a google search.
Component: Audio/Video → Audio/Video: Playback
You need to log in before you can comment on or make changes to this bug.