OMXCodec failed to initialize video decoder for "@??" - mp4 playback not working after OTA 4.4.2 upgrade of Samsung Galaxy Note 2 from Android 4.3

RESOLVED FIXED

Status

()

Core
Audio/Video
RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: Ayan, Assigned: snorp)

Tracking

({reproducible})

29 Branch
ARM
Android
reproducible
Points:
---

Firefox Tracking Flags

(firefox30 affected, firefox31 affected, firefox32 affected, firefox33 affected, firefox34 affected, firefox35 affected)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

3 years ago
Created attachment 8416852 [details]
Screenshot_2014-05-03-11-00-40.png

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release)
Build ID: 20140421221237

Steps to reproduce:

Samsung Note 2 running Android 4.3 got the OTA 4.4.2 upgrade last night


Actual results:

After the upgrade, with the FF version remaining the same, embedded videos on sites were no longer playing

http://m.ibnlive.com/news/masandsverdict/transcendence-review-the-film-is-clunky-and-lifeless/466095-8.html


Expected results:

Like the Android 4.3 with FF 29, embedded videos should play
(Reporter)

Comment 1

3 years ago
Created attachment 8416888 [details]
tmp_Screenshot_2014-05-03-17-36-53-995882750.png
(Reporter)

Comment 2

3 years ago
Cnn's site has the same problem. Screenshot attached

http://www.cnn.com
Aaron do you have a Note 2?
Component: General → Video/Audio
Flags: needinfo?(aaron.train)
OS: Windows 7 → Android
Product: Firefox for Android → Core
Hardware: x86_64 → ARM
Version: Firefox 29 → 29 Branch
I do. I upgraded my device to 4.4.2 and I do see the same issue here. I double-checked before upgrading and I did see video playback work correctly:

URL used from aforementioned test-case URL: https://ns.ibnlive.in.com/ipadmp4/04_2014/transcendence_review.mp4

Related OMX output:

I/MediaPluginHost( 7798): Loading OMX Plugin: libomxpluginkk.so
I/OMXClient( 7798): Using client-side OMX mux.
I/MediaPluginHost( 7798): OMX plugin successfully loaded
D/OMX     ( 1951): SendBroadCasting VIDEO_PLAYBACK_START
E/OMXNodeInstance( 1951): OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
W/OMXNodeInstance( 1951): OMX_GetExtensionIndex OMX.google.android.index.prepareForAdaptivePlayback failed
D/OMX     ( 1951): SendBroadCasting VIDEO_PLAYBACK_STOP
D/OMX     ( 1951): SendBroadCasting VIDEO_PLAYBACK_START
E/OMXNodeInstance( 1951): OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
W/OMXNodeInstance( 1951): OMX_GetExtensionIndex OMX.google.android.index.prepareForAdaptivePlayback failed
D/OMX     ( 1951): SendBroadCasting VIDEO_PLAYBACK_STOP
E/OMXNodeInstance( 1951): OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
W/OMXNodeInstance( 1951): OMX_GetExtensionIndex OMX.google.android.index.prepareForAdaptivePlayback failed
D/OMX     ( 1951): SendBroadCasting VIDEO_PLAYBACK_START
E/OMXNodeInstance( 1951): OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
W/OMXNodeInstance( 1951): OMX_GetExtensionIndex OMX.google.android.index.prepareForAdaptivePlayback failed
D/OMX     ( 1951): SendBroadCasting VIDEO_PLAYBACK_STOP
E/OMXNodeInstance( 7798): OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
W/OMXNodeInstance( 7798): OMX_GetExtensionIndex OMX.google.android.index.prepareForAdaptivePlayback failed
I/OmxPlugin( 7798): Decoder OMX.SEC.avc.dec can output colour format 0x15.
I/OmxPlugin( 7798): Found compatible decoder OMX.SEC.avc.dec with colour format 0x15.
I/OMXCodec( 7798): Attempting to allocate OMX node 'OMX.SEC.avc.dec'
D/OMX     ( 1951): SendBroadCasting VIDEO_PLAYBACK_START
I/OMXCodec( 7798): Successfully allocated OMX node 'OMX.SEC.avc.dec'
I/OMXCodec( 7798): [OMX.SEC.avc.dec] AVC profile = 66 (Baseline), level = 13
I/OMXCodec( 7798): [OMX.SEC.avc.dec] FrameRate (25)
I/OMX     ( 1951): width (640), height (512), fps (25)
I/OMX     ( 1951): width (640), height (512), fps (25)
I/OMXCodec( 7798): [OMX.SEC.avc.dec] video dimensions are 640 x 512
I/OMXCodec( 7798): [OMX.SEC.avc.dec] Crop rect is 640 x 512 @ (0, 0)
W/OMXCodec( 7798): Failed to configure codec 'OMX.SEC.avc.dec'
D/OMX     ( 1951): SendBroadCasting VIDEO_PLAYBACK_STOP
I/OmxPlugin( 7798): OMXCodec failed to initialize video decoder for "@??"

Of particular interest is the failure to initialize the video decoder.
Status: UNCONFIRMED → NEW
tracking-fennec: --- → ?
Ever confirmed: true
Flags: needinfo?(aaron.train) → needinfo?(edwin)
Keywords: reproducible
Summary: Embedded videos does not play after OTA 4.4.2 upgrade of Samsung Note 2 from Android 4.3 → OMXCodec failed to initialize video decoder for "@??" - mp4 playback not working after OTA 4.4.2 upgrade of Samsung Galaxy Note 2 from Android 4.3
Assignee: nobody → edwin
tracking-fennec: ? → +
Poor video playback is one of our top 3 feedback complaints. Should we even be using OMX on 4.4.2? Snorp thinks there might be an official Java API for video playback. The MediaCodec class?
tracking-fennec: + → 32+

Comment 6

3 years ago
Having same problem here. Mp4 <video>s can't play within Firefox on my updated Samsung note 2 (android 4.4.2).
Things seem to be working fine on Nexus 10, so apparently some Exynos-based devices are not affected.
(In reply to Mark Finkle (:mfinkle) from comment #5)
> Poor video playback is one of our top 3 feedback complaints. Should we even
> be using OMX on 4.4.2? Snorp thinks there might be an official Java API for
> video playback. The MediaCodec class?

See bug 941302 specifically c28 in relation to patching libstagefright being the preferred approach on b2g.
Blake Wu tells me that this specific issue doesn't exist on Android.
This is a fennec issue. I think it should not be related to bug 941302 which is for B2G only.
I filed bug 1014614 for investigation into MediaCodec
Depends on: 1014614

Updated

3 years ago
Status: NEW → ASSIGNED

Comment 12

3 years ago
Any chance one of the developers involved in this drop a small update on status of this bug? Broken .mp4 support forces me to go back to the stock browser every day, it's painful :)
Unfortunately nobody is looking at this bug.
Assignee: edwin → nobody
Flags: needinfo?(edwin)

Updated

3 years ago
status-firefox30: --- → affected
status-firefox31: --- → affected
status-firefox32: --- → affected
status-firefox33: --- → affected
(In reply to Aaron Train [:aaronmt] from comment #13)
> Unfortunately nobody is looking at this bug.

It will need to wait for 1014614 along with enabling the internal MP4 parser.

Comment 15

3 years ago
Ok, thanks for the update. As Samsung's Galaxy Note 2 is one of the key Android-based smartphone, wanted to make sure Mozilla has a strategy ;-P
The Android platform has fragmentation problems and especially in relation to video. Mostly due to the lack of an officially supported API. There is now a Java API which shows some promise. Unfortunately it involves further work to port to support the new API.
Assignee: nobody → snorp

Updated

3 years ago
Duplicate of this bug: 1046968

Updated

3 years ago
status-firefox34: --- → affected
The way forward here is going to be to use the MediaCodec Java API, bug 1014614.
tracking-fennec: 32+ → ---

Updated

3 years ago
status-firefox35: --- → affected
Bug 1014614 fixed this.
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.