From fbe304d6d0c2a5a135ce8dedc465e11ce3edb6e3 Mon Sep 17 00:00:00 2001 From: Francois Beaufort Date: Thu, 25 Oct 2018 07:31:15 +0000 Subject: [PATCH] Add HEVC mime type --- media-capabilities/decoding-info-2.html | 3 ++- media-capabilities/decoding-info.html | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/media-capabilities/decoding-info-2.html b/media-capabilities/decoding-info-2.html index 80a296b..af25e4a 100644 --- a/media-capabilities/decoding-info-2.html +++ b/media-capabilities/decoding-info-2.html @@ -33,7 +33,8 @@

Showing only supported but not smooth and/or power efficient

const MEDIA_CONFIGURATION_TYPES = ['media-source', 'file']; const VIDEO_CONFIGURATION_CONTENT_TYPES = [ - { mime: 'video/mp4; codecs=av1', title : 'AV1 in MP4 container' }, + { mime: 'video/mp4; codecs="hev1.1.6.L93.B0"', title: 'HEVC progressive, non-packed stream, Main Profile, Main Tier, Level 3.1'}, + { mime: 'video/mp4; codecs=av1', title: 'AV1 in MP4 container' }, { mime: 'video/mp4; codecs=avc1.42001E', title: 'H.264 Baseline Profile' }, { mime: 'video/mp4; codecs=avc1.4D001E', title: 'H.264 Main Profile' }, { mime: 'video/mp4; codecs=avc1.58001E', title: 'H.264 Extended Profile' }, diff --git a/media-capabilities/decoding-info.html b/media-capabilities/decoding-info.html index 9211863..e6b8f92 100644 --- a/media-capabilities/decoding-info.html +++ b/media-capabilities/decoding-info.html @@ -115,6 +115,7 @@

🎮 mediaCapabilities.decodingInfo()

'video/webm; codecs=vp09.01.20.08.01.01.01.01.00', // VP9, Profile 1, level 2, bit depth 8, 4:2:0 chroma subsampling colocated with (0,0) luma, REC709 color/transfer/matrix, luma/chroma encoded in the "legal" range. 'video/webm; codecs=vp09.02.10.10.01.09.16.09.01', // VP9, Profile 2, level 1, 10-bit YUV content, 4:2:0 colocated with luma (0,0) chroma subsampling, ITU-R BT.2020 primaries, ST 2084 EOTF, ITU-R BT.2020 non-constant luminance color matrix, full-range chroma/luma encoding. 'video/mp4; codecs=avc1.64001E', // H.264 'High' profile video + 'video/mp4; codecs="hev1.1.6.L93.B0"', // HEVC progressive, non-packed stream, Main Profile, Main Tier, Level 3.1 'video/ogg; codecs=theora', // Theora video in Ogg container ];