Skip to main content

Module ids

Module ids 

Source
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 as SimpleBlock, but the keyframe flag bit is reserved here; keyframe-ness is instead the absence of a sibling ReferenceBlock.
BLOCK_DURATION
BlockGroup\BlockDuration (in TimecodeScale ticks).
BLOCK_GROUP
Cluster\BlockGroup.
CHANNELS
Audio\Channels (default 1).
CLUSTER
Segment\Cluster — may be indefinite size.
CODEC_ID
TrackEntry\CodecID (ASCII, e.g. "V_VP9").
CODEC_PRIVATE
TrackEntry\CodecPrivate (codec-specific config: OpusHead for Opus, the VP9 uncompressed-header config for 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 from Segment’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
EBML header — skipped whole in v1 demux (no DocType validation); the mux side writes a minimal, spec-valid one (adr/0003).
EBML_MAX_ID_LENGTH
EBML\EBMLMaxIDLength (mux only — always 4, matching decode_id’s limit).
EBML_MAX_SIZE_LENGTH
EBML\EBMLMaxSizeLength (mux only — always 8).
EBML_READ_VERSION
EBML\EBMLReadVersion (mux only — always 1).
EBML_VERSION
EBML\EBMLVersion (mux only — always 1).
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; default 8000.0 Hz).
SEEK
SeekHead\Seek.
SEEK_HEAD
Segment\SeekHead — informational only (see CUES).
SEEK_ID
Seek\SeekID (the referenced element’s raw ID bytes).
SEEK_POSITION
Seek\SeekPosition (byte offset from Segment’s data start).
SEGMENT
Segment — top-level container; may be indefinite size.
SEGMENT_INFO
Segment\Info.
SIMPLE_BLOCK
Cluster\SimpleBlock.
TIMECODE
Cluster\Timecode (in TimecodeScale ticks, relative to Segment start).
TIMECODE_SCALE
Segment\Info\TimecodeScale (ns per tick; default 1_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.