haikuwebkit/LayoutTests/media/media-can-play-av1-expected...

14 lines
601 B
Plaintext
Raw Permalink Normal View History

[GStreamer] Add support for AV1 decoding https://bugs.webkit.org/show_bug.cgi?id=189647 Source/WebCore: Tweaked by Xabier Rodriguez Calvar <calvaris@igalia.com>. Patch by Philippe Normand <pnormand@igalia.com> on 2018-09-19 Reviewed by Žan Doberšek. AV1 can be muxed in MP4 and WebM containers. The test is an adaptation from Chromium's unittest: https://chromium.googlesource.com/chromium/src/+/master/content/browser/media/media_canplaytype_browsertest.cc Test: media/media-can-play-av1.html * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivateGStreamer::supportsType): Add AV1 support. The av01 codec has to be explicitely checked, along with the presence of a compatible AV1 decoder. Tools: Patch by Philippe Normand <pnormand@igalia.com> on 2018-09-19 Reviewed by Žan Doberšek. Add patches required for AV1 decoding support. They're all upstream already and will be shipped in GStreamer 1.16. The aom GStreamer plugin depends on the aom library for which there's no official release yet. * gstreamer/jhbuild.modules: * gstreamer/patches/gst-plugins-bad-0001-aomenc-Add-support-for-10-12bit-decoding.patch: Added. * gstreamer/patches/gst-plugins-bad-0002-aomenc-Handle-8-bit_depth-images-with-AOM_IMG_FMT_HI.patch: Added. * gstreamer/patches/gst-plugins-good-0001-qtdemux-Detect-and-expose-CEA-608-708-Closed-Caption.patch: Added. This one is unrelated but an implicit dependency of the next one. * gstreamer/patches/gst-plugins-good-0004-qtdemux-Add-initial-support-for-AV1-demuxing.patch: Added. * gstreamer/patches/gst-plugins-good-0005-qtdemux-Extract-AV1-codec_data-and-put-it-in-the-cap.patch: Added. * gstreamer/patches/gst-plugins-good-0006-qtdemux-Recognize-more-AV1-atoms.patch: Added. LayoutTests: Patch by Philippe Normand <pnormand@igalia.com> on 2018-09-19 Reviewed by Žan Doberšek. Layout test for AV1 canPlay() compatiblity checking. Right now GStreamer-based ports are the only ones expecting to support AV1. * media/media-can-play-av1-expected.txt: Added. * media/media-can-play-av1.html: Added. * platform/ios/media/media-can-play-av1-expected.txt: Added. * platform/mac/media/media-can-play-av1-expected.txt: Added. Canonical link: https://commits.webkit.org/204687@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-19 08:53:50 +00:00
Test HTMLMediaElement canPlayType() method for the AV1 codec.
These tests may be expected to fail if the WebKit port does not support the format.
EXPECTED (video.canPlayType('video/mp4; codecs=av1') == 'probably') OK
EXPECTED (video.canPlayType('video/webm; codecs=av1') == 'probably') OK
EXPECTED (video.canPlayType('video/mp4; codecs=av01.0.04M.08') == 'probably') OK
EXPECTED (video.canPlayType('video/webm; codecs=av01.0.04M.08') == 'probably') OK
EXPECTED (video.canPlayType('video/webm; codecs=aaaav1') == '') OK
EXPECTED (video.canPlayType('video/mp4; codecs=bbbav1') == '') OK
[GStreamer] Add support for AV1 decoding https://bugs.webkit.org/show_bug.cgi?id=189647 Source/WebCore: Tweaked by Xabier Rodriguez Calvar <calvaris@igalia.com>. Patch by Philippe Normand <pnormand@igalia.com> on 2018-09-19 Reviewed by Žan Doberšek. AV1 can be muxed in MP4 and WebM containers. The test is an adaptation from Chromium's unittest: https://chromium.googlesource.com/chromium/src/+/master/content/browser/media/media_canplaytype_browsertest.cc Test: media/media-can-play-av1.html * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivateGStreamer::supportsType): Add AV1 support. The av01 codec has to be explicitely checked, along with the presence of a compatible AV1 decoder. Tools: Patch by Philippe Normand <pnormand@igalia.com> on 2018-09-19 Reviewed by Žan Doberšek. Add patches required for AV1 decoding support. They're all upstream already and will be shipped in GStreamer 1.16. The aom GStreamer plugin depends on the aom library for which there's no official release yet. * gstreamer/jhbuild.modules: * gstreamer/patches/gst-plugins-bad-0001-aomenc-Add-support-for-10-12bit-decoding.patch: Added. * gstreamer/patches/gst-plugins-bad-0002-aomenc-Handle-8-bit_depth-images-with-AOM_IMG_FMT_HI.patch: Added. * gstreamer/patches/gst-plugins-good-0001-qtdemux-Detect-and-expose-CEA-608-708-Closed-Caption.patch: Added. This one is unrelated but an implicit dependency of the next one. * gstreamer/patches/gst-plugins-good-0004-qtdemux-Add-initial-support-for-AV1-demuxing.patch: Added. * gstreamer/patches/gst-plugins-good-0005-qtdemux-Extract-AV1-codec_data-and-put-it-in-the-cap.patch: Added. * gstreamer/patches/gst-plugins-good-0006-qtdemux-Recognize-more-AV1-atoms.patch: Added. LayoutTests: Patch by Philippe Normand <pnormand@igalia.com> on 2018-09-19 Reviewed by Žan Doberšek. Layout test for AV1 canPlay() compatiblity checking. Right now GStreamer-based ports are the only ones expecting to support AV1. * media/media-can-play-av1-expected.txt: Added. * media/media-can-play-av1.html: Added. * platform/ios/media/media-can-play-av1-expected.txt: Added. * platform/mac/media/media-can-play-av1-expected.txt: Added. Canonical link: https://commits.webkit.org/204687@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-19 08:53:50 +00:00
END OF TEST