Closed Bug 1435709 Opened 6 years ago Closed 6 years ago

Can't play OGG video on LG G4 devices

Categories

(Core :: Audio/Video: Playback, defect, P3)

ARM
Android
defect

Tracking

()

VERIFIED FIXED
mozilla60
Tracking Status
fennec + ---
firefox58 --- wontfix
firefox59 --- verified
firefox60 --- verified

People

(Reporter: sflorean, Assigned: jya)

Details

Attachments

(2 files)

Environment: 
Device: LG G4 (Android 5.1), LG G4 (Android 6.0.1);
Build: Nightly 60.0a1 (2018-02-04);

Steps to reproduce:
1. Go to http://techslides.com/demos/sample-videos/small.ogv or https://lachy.id.au/dev/markup/examples/video/001.html
2. Play the OGG file. 

Expected result:
The video starts playing without issues.

Actual result:
The video can't be played. A message is displayed "Video can't be played because the file is corrupt".

Notes: reproducible only on LG devices.
jya: can you folks investigate?
tracking-fennec: ? → +
Component: Audio/Video → Audio/Video: Playback
Flags: needinfo?(jyavenard)
Product: Firefox for Android → Core
I wonder if LG has just dropped Theora decoder support.
Priority: -- → P3
For this error to occur, it would mean that LG is reporting support for Theora but in fact doesn't
https://searchfox.org/mozilla-central/source/dom/media/platforms/android/AndroidDecoderModule.cpp#107

Seeing that I doubt there are any HW accelerated theora decoder out there, should we just always use the software one like we've done for opus and others ?
https://searchfox.org/mozilla-central/source/dom/media/platforms/android/AndroidDecoderModule.cpp#97

Ralph, your call...
Flags: needinfo?(jyavenard) → needinfo?(giles)
Lumping it in with the free audio codecs makes sense to me. Theora isn't on Android's list of supported codecs, so we shouldn't expect a platform decoder in any case.
Assignee: nobody → giles
Flags: needinfo?(giles)
Comment on attachment 8955420 [details]
Bug 1435709 - Don't attempt to use stagefright to decode theora.

https://reviewboard.mozilla.org/r/224598/#review230602
Attachment #8955420 - Flags: review?(padenot) → review+
Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/26ae1fdb017c
Don't attempt to use stagefright to decode theora. r=padenot
https://hg.mozilla.org/mozilla-central/rev/26ae1fdb017c
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Thanks for fixing!
Assignee: giles → jyavenard
This sounds like something we should try to get uplifted to 59 still. Can you please request release approval on this?
Flags: needinfo?(jyavenard)
Comment on attachment 8955420 [details]
Bug 1435709 - Don't attempt to use stagefright to decode theora.

Approval Request Comment
[Feature/Bug causing the regression]: unknown
[User impact if declined]: Some android devices won't be able to play Ogg file with Theora track
[Is this code covered by automated tests?]: no
[Has the fix been verified in Nightly?]: no, however the fix is so trivial, it cannot not work
[Needs manual test from QE? If yes, steps to reproduce]: Use one of the mentioned device
[List of other uplifts needed for the feature/fix]: none
[Is the change risky?]: no
[Why is the change risky/not risky?]: We already bypass the android's system decoder for many codecs. Theora isn't a codec officially supported, if it ever worked before it was an accident.
[String changes made/needed]: none
Flags: needinfo?(jyavenard)
Attachment #8955420 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Comment on attachment 8955420 [details]
Bug 1435709 - Don't attempt to use stagefright to decode theora.

Approved for Fennec 59b15. Sorina, please verify that this is fixed when you get a chance.
Flags: needinfo?(sorina.florean)
Attachment #8955420 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Verified as fixed on latest Nightly build (03/05). The video is playing. 
Device: LG G4 (Android 5.1), LG G4 (Android 6.0.1). 
Keeping the needinfo for checking 59b15.
Thanks for verifying!
Verified as fixed on Beta 59b15.
Devices: LG G4 (Android 5.1), LG G4 (Android 6.0.1).
Status: RESOLVED → VERIFIED
Flags: needinfo?(sorina.florean)
Also verified on RC 59.0.
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: