Expand description
H.264 / AVC.
Parses SPS NAL units and AVCDecoderConfigurationRecord blobs into
catalog-ready fields. The Avc1 transmuxer rewrites Annex-B input
(inline SPS/PPS) as length-prefixed NALU + out-of-band avcC, which is
what every CMAF and MKV consumer expects. Export subscribes to a
catalog-narrowed H.264 rendition and emits an Annex-B elementary
stream; Split does the byte-level framing of an Annex-B stream and
Import is the pure frame publisher that resolves the catalog.
Length-prefixed NALU has no stream framing; wrap one access unit with
avc1_frame.
The catalog’s description decides the framing (an avcC means
length-prefixed, none means Annex-B); avc1 and avc3 only say whether the
parameter sets may also ride in band.
Structs§
- Avc1
- Transform H.264 frames from Annex-B (inline SPS/PPS) to length-prefixed NALU with an out-of-band AVCDecoderConfigurationRecord (“avc1”).
- Avcc
- Parsed AVCDecoderConfigurationRecord (ISO/IEC 14496-15 §5.3.3.1.2).
- Export
- Single-rendition H.264 Annex-B exporter.
- Import
- H.264 importer: a pure frame publisher that resolves the catalog rendition.
- Split
- H.264 Annex-B stream splitter: bytes in,
Frames out. - Sps
- Parsed H.264 SPS (Sequence Parameter Set) NAL.
Enums§
- Error
- H.264 parsing and transform errors.
Functions§
- config
- The catalog config a stream’s codec bytes describe, resolved without publishing anything: an
AVCDecoderConfigurationRecord(avc1) or Annex-B carrying an inline SPS (avc3).
Type Aliases§
- Result
- A result using this module’s error type.