Skip to content

Commit

Permalink
Add HEVC mime type
Browse files Browse the repository at this point in the history
  • Loading branch information
beaufortfrancois committed Oct 25, 2018
1 parent 638c057 commit fbe304d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion media-capabilities/decoding-info-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ <h3>Showing only supported but not smooth and/or power efficient</h3>
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' },
Expand Down
1 change: 1 addition & 0 deletions media-capabilities/decoding-info.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ <h1>🎮 mediaCapabilities.decodingInfo()</h1>
'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

];
Expand Down

0 comments on commit fbe304d

Please sign in to comment.