Closed Bug 902459 Opened 11 years ago Closed 9 years ago

High-resolution videos fade in and out while playing

Categories

(Firefox for Android Graveyard :: Toolbar, defect)

23 Branch
All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: basta, Unassigned)

Details

Experienced on a Galaxy Tab 10.1; have been seeing the issue since H.264 support was added to FX. When you "Open link in new tab" on an Mp4, you get a nice player for the video. Unfortunately, high resolution videos will fade to the background color (gray) and fade back in seemingly randomly. Sometimes it will hesitate mid-fade and reverse. This only affects the video; audio continues to play just fine. It seems that this happens when the device isn't able to keep up with the video and happens when the player would otherwise start dropping frames. Fading out, however, makes the video completely unwatchable. This is not a hardware issue, I should think, since copying the URL and playing in Chrome works just fine.
Any difference against Nightly? Which version of Android?
Android 4.0.4. I'll test Nightly later tonight and report back.
Just managed to get time to test on Nightly. The problem is just as bad, if not worse. In Nightly, the videos don't fade in and out quite as smoothly (they kind of cut to gray), meaning the video is actually visible for less time overall than in stable. Towards the end of longer videos, though, it seems like they don't "fade" quite as much, though I don't have any real numbers to back that up and it could just be the case that I had fewer tabs open or something like that.
This is going to depend on the stagefright decoder.It sounds like the video is exceeding capability of stagefright to decode it. Can Chrome decode the video? I filed a few bugs on similar issues linked off https://bugzilla.mozilla.org/showdependencytree.cgi?id=867846&hide_resolved=1
Chrome plays the videos well enough to be watchable, but they're quite choppy.
We improved this for modern Android. For devices 4.1 and older we don't have a way forward. A combination of lack of Android API support and what is now low end hardware is going to have a tough time decoding hd streams.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.