Closed
Bug 1230784
Opened 10 years ago
Closed 10 years ago
Video distortion on 5+ min videos on YouTube
Categories
(Firefox for Android Graveyard :: Audio/Video, defect)
Tracking
(firefox42 affected, firefox43 affected, firefox44 verified, firefox45 verified, firefox46 verified, b2g-v2.5 fixed, fennec43+)
VERIFIED
FIXED
Firefox 46
People
(Reporter: tw-bugs-firefox, Assigned: snorp)
References
Details
Attachments
(2 files)
4.29 KB,
text/plain
|
Details | |
3.33 KB,
patch
|
esawin
:
review+
jya
:
review+
ritu
:
approval-mozilla-aurora+
ritu
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Android 6.0; Mobile; rv:45.0) Gecko/45.0 Firefox/45.0
Build ID: 20151205030208
Steps to reproduce:
Open a video on mobile YouTube, preferably one that is 7 minutes or longer. Watch the video in full screen. It will eventually distort into a stretched version of only a few rows/columns of pixels of itself (unviewable). See here for an example of this phenomenon: https://youtu.be/e9jdCKKT5N0
Tested on latest nightly (2015-12-05) and latest main build (42.0.2).
Actual results:
Video distorted itself.
Expected results:
Video dimensions remain appropriate.
Reporter | ||
Comment 1•10 years ago
|
||
Example video was taken down. I made another one with Big Buck Bunny instead: https://youtu.be/0JY_dgedteI
5:55 or so showcases the glitch.
I have tried to get relevant info from adb logcat multiple times but no luck. The event in the video was around 14:35:35. Log attached...
Comment 2•10 years ago
|
||
I have seen this on the 5x. What device are you using?
Status: UNCONFIRMED → NEW
tracking-fennec: --- → ?
status-firefox42:
--- → affected
status-firefox43:
--- → ?
status-firefox44:
--- → ?
status-firefox45:
--- → affected
Ever confirmed: true
Flags: needinfo?(tw-bugs-firefox)
Comment 4•10 years ago
|
||
This is fairly bad. Might be Android 6.0 or 5x/6p specific. Have anyone who can look into this?
Flags: needinfo?(snorp)
Summary: Video distortion after an indeterminate amount of viewing → Video distortion on 5+ min videos on YouTube
Assignee | ||
Comment 5•10 years ago
|
||
I can reproduce this on Nightly, 6P. Seemed to distort after about 6 minutes. Nothing interesting in logcat. It looks like it could be a compositing problem (busted triangle strip?), but I'm not sure how that could happen.
Flags: needinfo?(snorp)
Assignee | ||
Comment 6•10 years ago
|
||
Benoit, Nicolas, does this seem like compositor bustage to you? See comment #1
Flags: needinfo?(nical.bugzilla)
Flags: needinfo?(bgirard)
Assignee | ||
Comment 7•10 years ago
|
||
A couple other interesting notes:
1) Once the corruption occurs, seeking to the beginning of the file still results in corrupted output.
2) If I exit fullscreen, everything else on the page looks fine, but the video remains corrupted
I am sorta thinking this is MSE specific or even YouTube specific. Anthony, have you ever seen anything like this?
Flags: needinfo?(ajones)
Assignee | ||
Comment 8•10 years ago
|
||
I can reproduce this on vimeo too, which I don't believe is using MSE. That probably narrows it down to either decoder weirdness (unlikely) or compositor/gfx badness.
Assignee | ||
Comment 9•10 years ago
|
||
This seems to be yet another bug caused by us copying the video surface for presentation. Time to rip it out for real -- causing more problems than it solves at this point.
Assignee: nobody → snorp
Flags: needinfo?(nical.bugzilla)
Flags: needinfo?(bgirard)
Flags: needinfo?(ajones)
Assignee | ||
Comment 10•10 years ago
|
||
This has caused a lot of problems, we should just stop. It's possible now that video/audio could
be out of sync by a few frames, but in practice I don't really notice anything.
Attachment #8700048 -
Flags: review?(jyavenard)
Attachment #8700048 -
Flags: review?(esawin)
Updated•10 years ago
|
Attachment #8700048 -
Flags: review?(esawin) → review+
Updated•10 years ago
|
Attachment #8700048 -
Flags: review?(jyavenard) → review+
Comment 11•10 years ago
|
||
Comment 12•10 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 46
Assignee | ||
Updated•10 years ago
|
tracking-fennec: ? → 43+
Assignee | ||
Comment 13•10 years ago
|
||
Comment on attachment 8700048 [details] [diff] [review]
Don't copy SurfaceTexture contents when presenting video on Android
Approval Request Comment
[Feature/regressing bug #]: Marshmallow?
[User impact if declined]: Distorted video after about 5 minutes on Android 6.0 devices
[Describe test coverage new/current, TreeHerder]: Nightly
[Risks and why]: Low, but there is a possibility for slight AV sync issues. I haven't seen anything in testing.
[String/UUID change made/needed]: None
Attachment #8700048 -
Flags: approval-mozilla-release?
Attachment #8700048 -
Flags: approval-mozilla-beta?
Attachment #8700048 -
Flags: approval-mozilla-aurora?
Comment 14•10 years ago
|
||
tw-bugs-firefox@galac.tk, could you please verify this issue is fixed as expected on a latest Nightly build? Thanks!
Flags: needinfo?(tw-bugs-firefox)
Comment 15•10 years ago
|
||
Comment on attachment 8700048 [details] [diff] [review]
Don't copy SurfaceTexture contents when presenting video on Android
Taking this in Aurora45 for now, will wait a few days of additional verification before uplifting to Beta44.
Attachment #8700048 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 16•10 years ago
|
||
bugherder uplift |
Reporter | ||
Comment 17•10 years ago
|
||
It is absolutely fixed! :-) Thank you! I tested it for at least an hour the other day. I didn't reply earlier ith findings because someone else marked it fixed. (I am kind of new to the bug tracker.)
Flags: needinfo?(tw-bugs-firefox)
Comment 18•10 years ago
|
||
(In reply to tw-bugs-firefox from comment #17)
> It is absolutely fixed! :-) Thank you! I tested it for at least an hour the
> other day. I didn't reply earlier ith findings because someone else marked
> it fixed. (I am kind of new to the bug tracker.)
Fantastic. Thank you for a prompt reply!
Status: RESOLVED → VERIFIED
Comment 19•10 years ago
|
||
Comment on attachment 8700048 [details] [diff] [review]
Don't copy SurfaceTexture contents when presenting video on Android
The fix was verified, Beta44+
Attachment #8700048 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 20•10 years ago
|
||
has problems to apply to beta:
grafting 321565:a8de44cf17d3 "Bug 1230784 - Don't copy SurfaceTexture contents when presenting video on Android r=esawin,jya a=ritu"
merging dom/media/platforms/android/AndroidDecoderModule.cpp
warning: conflicts while merging dom/media/platforms/android/AndroidDecoderModule.cpp! (edit, then use 'hg resolve --mark')
abort: unresolved conflicts, can't continue
(use hg resolve and hg graft --continue)
Flags: needinfo?(snorp)
Assignee | ||
Comment 23•10 years ago
|
||
Flags: needinfo?(snorp)
Marking 44 fixed per comment 23.
Comment 25•10 years ago
|
||
I was able to reproduce the issue on Firefox for Android 44 Beta 7 using Nexus 6 (Android 6.0).
Verified as fixed on Firefox for Android 44 Beta 8.
Comment 26•10 years ago
|
||
bugherder uplift |
status-b2g-v2.5:
--- → fixed
Comment 27•10 years ago
|
||
Verified as fixed on:
Device: Nexus 6 (Android 6.0)
Build: Firefox for Android 46.0a1 (2016-01-17)
Comment 28•10 years ago
|
||
Comment on attachment 8700048 [details] [diff] [review]
Don't copy SurfaceTexture contents when presenting video on Android
Mozilla-release branch is now Fx44 and this patch already landed in Beta44. Clearing out the m-r:? flag.
Attachment #8700048 -
Flags: approval-mozilla-release?
Comment 29•10 years ago
|
||
Verified as fixed on:
Device: Nexus 6 (Android 6.0)
Build: Firefox for Android 45.0a2 (2016-01-24)
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•