Enable playback of MP4 videos with YUV444 format
Categories
(Core :: Audio/Video: Playback, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
Details
Attachments
(4 files)
MP4/H264 videos with YUV444 format is supported on Linux and works on other browsers (Chrome/Chromium etc.). Firefox is the only one broken. The video format is already used (for instance Bug 1898379 attachment with reproducer) so we should enable it too to make Firefox on the same level as other browsers.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1291742#c40 and bellow for references.
Assignee | ||
Comment 1•6 months ago
|
||
Updated•6 months ago
|
Comment 3•5 months ago
|
||
Does OpenH264 support YUV444 now or would this change be only for ffmpeg?
Assignee | ||
Comment 4•5 months ago
|
||
(In reply to Darkspirit from comment #3)
Does OpenH264 support YUV444 now or would this change be only for ffmpeg?
AFAIK if OpenH264 doesn't support YUV444 the result will be the same as it's now - a message about broken video format.
Assignee | ||
Updated•5 months ago
|
Comment 5•5 months ago
|
||
There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:stransky, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.
Updated•5 months ago
|
Assignee | ||
Comment 6•4 months ago
|
||
Assignee | ||
Comment 9•4 months ago
|
||
Alwu, which test will be suitable for it?
Reftest or something else which just loads the clip? I generated YUV444P (and YUVJ444P) clips by gen_combos.py at dom/media/test/reftest and added the files to dom/media/test/reftest/color_quads/reftest.list, is that correct approach?
Thanks.
Assignee | ||
Updated•4 months ago
|
Comment 10•4 months ago
|
||
Backed out for causing reftest and mochitest failures(720p.png.bt709.bt709.tv.gbrp.h264.mp4 , test_bug1354633_media_error.html)
- Backout link
- Push with failures
Push with mochitest failures - Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | browser/components/resistfingerprinting/test/mochitest/test_bug1354633_media_error.html | Test timed out. -
- Failure Log reftest
- Failure line reftest: REFTEST TEST-UNEXPECTED-FAIL | dom/media/test/reftest/color_quads/720p.png.bt709.bt709.tv.gbrp.h264.mp4 == dom/media/test/reftest/color_quads/reftest_video.html?src=timeout | image comparison, max difference: 255, number of differing pixels: 273095
REFTEST TEST-UNEXPECTED-FAIL | dom/media/test/reftest/color_quads/720p.png.bt709.bt709.pc.gbrp.h264.mp4 == dom/media/test/reftest/color_quads/720p.png.bt709.bt709.tv.gbrp.h264.mp4 | image comparison, max difference: 119, number of differing pixels: 25451
Comment 11•4 months ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #9)
Alwu, which test will be suitable for it?
Reftest or something else which just loads the clip? I generated YUV444P (and YUVJ444P) clips by gen_combos.py at dom/media/test/reftest and added the files to dom/media/test/reftest/color_quads/reftest.list, is that correct approach?
Thanks.
Reftest sounds right to me. I think reftest_video.html
can be used in testing YUV444P.
Comment 12•4 months ago
|
||
bugherder |
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Comment 13•4 months ago
|
||
Yes, looks like there are two issues here.
- reftest - we expected decode timeout but decode works on Linux now. We may disable that timeout test now and add correct decode test for Linux.
- Mochitest - browser/components/resistfingerprinting/test/mochitest/test_bug1354633_media_error.html - there's a YUV444P video clip used to throw "decode error" message and test exposed info. As long as we decode it now the test is broken. We may need to come with different weird video format to test decode error :)
Assignee | ||
Comment 14•4 months ago
|
||
Depends on D211370
Assignee | ||
Comment 15•4 months ago
|
||
As H264/yuv444p is supported now on Linux we need a different video format which fails to decode.
VP9/gbrp12le seems to be exotic enough.
Depends on D217089
Assignee | ||
Comment 16•4 months ago
|
||
Assignee | ||
Updated•3 months ago
|
Comment 17•3 months ago
|
||
Comment 18•3 months ago
|
||
Backed out for causing reftests failures.
- Backout link
- Push with failures
- Failure Log
- Failure line: REFTEST TEST-UNEXPECTED-FAIL | dom/media/test/reftest/color_quads/720p.png.bt709.bt709.tv.gbrp.h264.mp4 == dom/media/test/reftest/color_quads/reftest_video.html?src=timeout | image comparison, max difference: 255, number of differing pixels: 359855
Updated•3 months ago
|
Comment 19•3 months ago
|
||
Assignee | ||
Updated•3 months ago
|
Comment 20•3 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/77ee1a53de8b
https://hg.mozilla.org/mozilla-central/rev/c0b6bac8dec2
https://hg.mozilla.org/mozilla-central/rev/b94ec5ba05c9
Description
•