Skip to main content

Module fmp4

Module fmp4 

Source
Expand description

Fragmented MP4 (fMP4 / CMAF).

A widely supported file format that’s also a viable wire format. Each moq frame carries one moof+mdat fragment, optionally with several samples packed inside. Wire is the wire-level container; Import parses external fMP4 streams and Export produces them.

Structs§

Export
Subscribe to a moq broadcast and produce a single fMP4 / CMAF byte stream.
Finished
An fMP4 import that finished: every track has ended, and they can still be read or aborted, but it takes no more input.
Fragment
One moof+mdat fragment, with the metadata a segmenting consumer needs.
Import
Imports fragmented MP4 (fMP4/CMAF) into a MoQ broadcast.
Muxer
Muxes one rendition’s fetched groups into standalone CMAF, without a live subscription.
Wire
CMAF container: encodes/decodes a single track’s moof+mdat fragments.

Enums§

Chunk
One emitted CMAF chunk: the init segment, then media fragments.
Error
Fragmented MP4 parsing, muxing, and transport errors.

Type Aliases§

Result
A result using this module’s error type.