Expand description
FLV (Flash Video / RTMP container).
An interchange format only, not a wire format: Import demuxes an FLV byte
stream into a broadcast and Export muxes a broadcast back into FLV. Two
payload generations are handled:
- Legacy FLV/RTMP: H.264 (AVC) video as length-prefixed NALU with an
out-of-band
AVCDecoderConfigurationRecord(avcC), and AAC audio with an out-of-bandAudioSpecificConfig. - Enhanced RTMP (E-RTMP): the FourCC payloads for HEVC (
hvc1), AV1 (av01), VP9 (vp09), Opus (Opus), AC-3 (ac-3), and E-AC-3 (ec-3).
MP3 is handled in both generations: the legacy SoundFormat 2 tag and the
E-RTMP .mp3 FourCC on import, and the legacy SoundFormat 2 tag on export.
Each codec’s config record passes straight through as the catalog
description (or, for the in-band codecs VP9 / MP3 / AC-3 / E-AC-3, is read
from the frame), and the sample bytes already match the
Legacy container, so no codec transform is
needed. Other legacy codecs (VP6, Speex, …) and the E-RTMP FLAC audio are
rejected on import and export.
Structs§
- Export
- Produce an FLV byte stream from a broadcast, following a catalog stream.
- Finished
- An FLV import that finished: every track has ended, and they can still be read or aborted, but it takes no more input.
- Import
- Demuxes an FLV byte stream into a MoQ broadcast.
Enums§
- Error
- FLV import and export errors.