Skip to main content

Module codec_string

Module codec_string 

Source
Expand description

RFC 6381 codec strings (hvc1.2.4.L153.B0, dvh1.08.06): a video stream’s codec with its profile, tier and level, as a player asks about it (Apple: AVURLAsset.isPlayableExtendedMIMEType).

A client lists the strings it plays (ClientCapabilities::video_codecs), and the server judges a source’s own string against them: a source is played when a listed string covers it. The forms read are those of ISO/IEC 14496-15 Annex E (avc1, hvc1), the AV1 codec ISOBMFF binding (av01) and Dolby’s (dvh1, dva1, dav1).

Structs§

CodecStringError
Why a string is not a codec string this module reads.

Enums§

CodecString
One video codec string, read.
Tier
HEVC’s and AV1’s tier: a high-tier stream may use more bits at its level than a main-tier decoder takes.