flvw.bend fails
raw source on the hub · import 0x549ec15ed24ab103abe18a252f491fa4/flvw.bend as Flvw
Frames into an FLV file: the one container here that holds pictures, their times, and the audio most cameras send (G.711) together.
video H.264 as FLV has it: a configuration tag made of the SPS and the PPS, then a tag per picture, its NAL units each after its size. H.265 the same way under enhanced RTMP's header ("hvc1"), the configuration made of the VPS, SPS and PPS. audio G.711 as it is (format 7 for the A-law, 8 for the mu-law); AAC as a configuration tag and a tag per frame, each frame without the ADTS header it came with.
No picture is written before a key one whose parameter sets are known: they come from the stream's description, or with the picture.
4 imports
import Base import ./bytes.bend as B import ./frame.bend as F import ./rtmp_core.bend as K
The reader could not load this file (at 0x549ec15ed24ab103abe18a252f491fa4/rtmp_core.bend:367). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Wait)
- observed : 'Wait'
Location:
366 | type Ev is Data:
367>| Wait{}
| ^^^^
368 | Skip{st: Dec, rest: List<&2, U32>}