The registration is not intended to include any information on whether a
codec format is encumbered by intellectual property claims. Implementers and
authors are advised to seek appropriate legal counsel in this matter if they
intend to implement or use a specific codec format. Implementers of
WebCodecs are not required to support the HEVC / H.265 codec.
This registration is non-normative.
Status of this document
This section describes the status of this document at the time of its publication. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at https://www.w3.org/TR/.
Feedback and comments on this specification are welcome. GitHub Issues are preferred for discussion on this specification. Alternatively, you can send comments to the Media Working Group’s mailing-list, public-media-wg@w3.org (archives).
This draft highlights some of the pending issues that are still to be discussed in the working group.
No decision has been taken on the outcome of these issues including whether they are valid.
This document was published by the Media Working Group as an Editor’s Draft.
The group does not expect this document to become a W3C Recommendation.
Publication as an Editor’s Draft does not imply endorsement by W3C and its Members.
The W3C Patent Policy does not carry any licensing requirements or commitments on this document.
NOTE: Since [[internal data]] is inherently byte-aligned,
implementations are not required to recover byte-alignment.
3. VideoDecoderConfig description
If the description is present, it is assumed to be an HEVCDecoderConfigurationRecord, as defined by [iso14496-15], section
8.3.3.1, and the bitstream is assumed to be in hevc format.
NOTE: This format is commonly used in .MP4 files, where the player generally
has random access to the media data.
If the description is not present, the bitstream is
assumed to be in annexb format.
NOTE: "annexb" format is described in greater detail by [ITU-T-REC-H.265],
Annex B. This format is commonly used in live-streaming applications, where
including the VPS, SPS, and PPS data periodically allows users to easily
start from the middle of the stream.
4. EncodedVideoChunk type
If an EncodedVideoChunk's [[type]] is key, and the bitstream is in hevc format, then the EncodedVideoChunk is expected
to contain a base layer primary coded picture that is an instantaneous decoding
refresh (IDR), clean random access (CRA), or broken link access (BLA) picture.
If an EncodedVideoChunk's [[type]] is key, and the bitstream is in annexb format, then the EncodedVideoChunk is
expected to contain both a base layer coded picture that is an instantaneous
decoding refresh (IDR), clean random access (CRA), or broken link access (BLA)
picture, and all parameter sets necessary to decode all video data
NAL units in the EncodedVideoChunk.
The HevcBitstreamFormat determines the location of HEVC parameter sets, and
mechanisms for packaging the bitstream.
annexb
Parameter sets are included periodically throughout the bitstream.
NOTE: This format is described in greater detail by [ITU-T-REC-H.265],
Annex B. This format is commonly used in live-streaming applications,
where including the parameter set data periodically allows users to
easily start from the middle of the stream.
NOTE: This format is described in greater detail by [iso14496-15],
section 8.3. This format is commonly used in .MP4 files, where the
player generally has random access to the media data.
Conformance requirements are expressed
with a combination of descriptive assertions
and RFC 2119 terminology.
The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL”
in the normative parts of this document
are to be interpreted as described in RFC 2119.
However, for readability,
these words do not appear in all uppercase letters in this specification.
All of the text of this specification is normative
except sections explicitly marked as non-normative, examples, and notes. [RFC2119]
Examples in this specification are introduced with the words “for example”
or are set apart from the normative text
with class="example",
like this:
This is an example of an informative example.
Informative notes begin with the word “Note”
and are set apart from the normative text
with class="note",
like this: