w3c / media-source

Media Source Extensions
https://w3c.github.io/media-source/
Other
268 stars 57 forks source link

Add new vp09 codec string to WebM Byte Stream Format - and update associated TR Note #180

Open chcunningham opened 7 years ago

chcunningham commented 7 years ago

VP9 has a new codec string that adds details about the codec (profile, level, bit depth, color and eotf details, etc...). With these extra details, MediaSource.isTypeSupported(....) can be more accurate in assessing whether the UA can play the specific vp9 encoding. This is especially useful to know whether WCG and HDR content can be supported.

Find details for new codec string here. (Skip past the ISOBMFF boxes. The codec string is expected to be used with both mp4 and webm and its definition does not take a dependency on ISOBMFF.)

The WebM byte stream format explicitly supports the legacy "vp9" string in the "MIME-type parameters" table. This table can be updated to include support for the new string. Stand by for pull request from me or @wolenetz

chcunningham commented 7 years ago

@kqyang, FYI, we probably need a similar issue for MP4. Will leave that to you.

The MP4 registry currently reads:

"MIME-types for this specification must conform to the rules outlined for "audio/mp4" and "video/mp4" in RFC 6381."

wolenetz commented 7 years ago

@jdsmith3000 FYI I'll produce a PR shortly.

wolenetz commented 6 years ago

I'm reopening this to track getting the updated editor's draft (#182 + #213) webm-byte-stream-spec.html updated in the Note. @plehegar please update the Note. Please also double-check the copyright date+text and SOTD references that the respec regeneration also updated in that specific html file.

wolenetz commented 3 years ago

In scope of V2 to ensure this is/has been done.