Report MP4 videos with YUV444 format as unsupported
Categories
(Core :: Audio/Video: Playback, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: alice0775, Assigned: JamesCheng)
References
Details
(Whiteboard: DUPEME,[parity-Chrome])
Attachments
(3 files, 1 obsolete file)
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
Assignee | ||
Comment 5•8 years ago
|
||
Assignee | ||
Comment 6•8 years ago
|
||
Assignee | ||
Comment 7•8 years ago
|
||
Comment 8•8 years ago
|
||
Comment 9•8 years ago
|
||
Comment 10•8 years ago
|
||
Comment 12•8 years ago
|
||
Assignee | ||
Comment 13•8 years ago
|
||
Assignee | ||
Comment 14•8 years ago
|
||
Comment 15•8 years ago
|
||
Comment 16•8 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 19•8 years ago
|
||
Assignee | ||
Comment 20•8 years ago
|
||
Comment 21•8 years ago
|
||
mozreview-review |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Comment 24•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Comment 25•8 years ago
|
||
mozreview-review |
Comment 26•8 years ago
|
||
mozreview-review |
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Updated•8 years ago
|
Comment hidden (mozreview-request) |
Assignee | ||
Comment 28•8 years ago
|
||
Comment 29•8 years ago
|
||
mozreview-review |
Updated•8 years ago
|
Comment 30•8 years ago
|
||
mozreview-review |
Comment hidden (mozreview-request) |
Comment 32•8 years ago
|
||
mozreview-review |
Assignee | ||
Comment 33•8 years ago
|
||
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Updated•8 years ago
|
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Comment 37•8 years ago
|
||
Comment 38•8 years ago
|
||
bugherder |
Comment 39•3 years ago
•
|
||
Sorry to dig out such an old bug, but I just ran into this and wonder if it should be re-evaluated. IE and classic Edge are no more, so on Windows Firefox is probably the only browser not playing these videos, similar on Linux, potentially MacOS as well.
Further more the current approach seems to also block downloads, which prevents people to use local players - that's certainly a bug.
Jean, do you mind having another look if it's still useful? If so, I'll create a bug for the download issue, but I'd prefer to see it fully removed.
P.S.: here is a link, might get updated at some point though: https://upload.video.fosdem.org/r/b8d0d06522d1da2c161222db7ac65deeb4e92c19d0e2f2aa622ebf0a2cd2acd5
Comment 40•3 years ago
|
||
We actually support YUV444 format, it's AV_PIX_FMT_YUV444P:
https://searchfox.org/mozilla-central/rev/c1598f6d3edad19ccc53f53ab045d1d29835e1dd/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp#680
We may remove the check as it may be outdated.
Comment 41•3 years ago
|
||
I see, the problem is with h.264 only, VP9 and others should play fine.
Comment 42•3 years ago
|
||
I tested the video from https://bugzilla.mozilla.org/attachment.cgi?id=8777324 and it plays OK on Windows in Chrome/Edge, Firefox is the one who fails. I don't have MacOS so I can't test. So I think we should allow that now. I'll try to remove the check and rebuild Firefox on Windows with that.
Comment 43•3 years ago
|
||
Just removing the check on Windows does not play the media, try:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=8dfc446824f8a301ccdc9cf30924d75b4ed60b33
I wonder what else needs to be done there. Works on Linux without any modifications as ffmpeg can play it.
Comment 44•3 years ago
|
||
IIUC ffmpeg is used for some file formats on Windows, so I guess what we'd have to do is what's already described in comment 8: move the check somewhere so WMF is not used for this formats and fall back to ffmpeg instead. Assuming that's legally possible, considering that h264 is involved.
Comment 45•3 years ago
|
||
(In reply to Robert Mader [:rmader] from comment #44)
IIUC ffmpeg is used for some file formats on Windows, so I guess what we'd have to do is what's already described in comment 8: move the check somewhere so WMF is not used for this formats and fall back to ffmpeg instead. Assuming that's legally possible, considering that h264 is involved.
unfortunately, that is not legally possible on Windows.
Firefox do not ship a ffmpeg with patent encumbered codec support.
Comment 46•3 years ago
•
|
||
Does the OpenH264 GMP plugin have support for YUV444? (bug 1663844)
If a video has multiple sources, could it be made that HW decoding (all codecs) is tried first, then software decoding with free codecs and OpenH264 only as last resort before showing an error?
Comment 47•3 years ago
|
||
I wonder what Chrome/Edge uses on Windows to play that....is that VFW SW decoder or so?
Comment 48•6 months ago
|
||
There can be support in the GPU.
Comment 49•6 months ago
|
||
As it works under Chromium/Linux we should try to enable it for Firefox/Linux too.
Comment 50•6 months ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #49)
As it works under Chromium/Linux we should try to enable it for Firefox/Linux too.
Filed as Bug 1898501.
Description
•