Expand description
WebM element IDs used by the v1 demux subset.
See facade ADR-0001 / this crate’s adr/0001. Values are the raw EBML
element ID (marker bits included, per RFC 8794) — see
docs/standards/registry.toml (rfc-8794-ebml, webm-container-guidelines).
Constants§
- AUDIO
TrackEntry\Audio.- BLOCK
BlockGroup\Block— same wire format asSimpleBlock, but the keyframe flag bit is reserved here; keyframe-ness is instead the absence of a siblingReferenceBlock.- BLOCK_
DURATION BlockGroup\BlockDuration(inTimecodeScaleticks).- BLOCK_
GROUP Cluster\BlockGroup.- CHANNELS
Audio\Channels(default1).- CLUSTER
Segment\Cluster— may be indefinite size.- CODEC_
ID TrackEntry\CodecID(ASCII, e.g."V_VP9").- CUES
Segment\Cues— seek index; informational only (this crate does no seeking itself, per sans-io — see crate-local ADR-0002).- CUE_
CLUSTER_ POSITION CueTrackPositions\CueClusterPosition(byte offset fromSegment’s data start).- CUE_
POINT Cues\CuePoint.- CUE_
TIME CuePoint\CueTime.- CUE_
TRACK CueTrackPositions\CueTrack.- CUE_
TRACK_ POSITIONS CuePoint\CueTrackPositions.- DOC_
TYPE EBML\DocType(mux only — ASCII"webm").- DOC_
TYPE_ READ_ VERSION EBML\DocTypeReadVersion(mux only).- DOC_
TYPE_ VERSION EBML\DocTypeVersion(mux only).- EBML_
HEADER EBMLheader — skipped whole in v1 demux (noDocTypevalidation); the mux side writes a minimal, spec-valid one (adr/0003).- EBML_
MAX_ ID_ LENGTH EBML\EBMLMaxIDLength(mux only — always4, matchingdecode_id’s limit).- EBML_
MAX_ SIZE_ LENGTH EBML\EBMLMaxSizeLength(mux only — always8).- EBML_
READ_ VERSION EBML\EBMLReadVersion(mux only — always1).- EBML_
VERSION EBML\EBMLVersion(mux only — always1).- PIXEL_
HEIGHT Video\PixelHeight.- PIXEL_
WIDTH Video\PixelWidth.- REFERENCE_
BLOCK BlockGroup\ReferenceBlock— presence (value is unused) marks the block as not a keyframe.- SAMPLING_
FREQUENCY Audio\SamplingFrequency(EBML Float; default8000.0Hz).- SEEK
SeekHead\Seek.- SEEK_
HEAD Segment\SeekHead— informational only (seeCUES).- SEEK_ID
Seek\SeekID(the referenced element’s raw ID bytes).- SEEK_
POSITION Seek\SeekPosition(byte offset fromSegment’s data start).- SEGMENT
Segment— top-level container; may be indefinite size.- SEGMENT_
INFO Segment\Info.- SIMPLE_
BLOCK Cluster\SimpleBlock.- TIMECODE
Cluster\Timecode(inTimecodeScaleticks, relative toSegmentstart).- TIMECODE_
SCALE Segment\Info\TimecodeScale(ns per tick; default1_000_000).- TRACKS
Segment\Tracks.- TRACK_
ENTRY Segment\Tracks\TrackEntry.- TRACK_
NUMBER TrackEntry\TrackNumber.- TRACK_
TYPE TrackEntry\TrackType(1 = video, 2 = audio, …).- VIDEO
TrackEntry\Video.
Functions§
- is_
descend_ master - Master elements the walker descends into. Every other element ID (recognized leaf or not) is treated as opaque and skipped by its own element size.