flv.bend fails
raw source on the hub · import 0xfbc4773809086afacef84e7fba6d620c/flv.bend as Flv
The frames inside RTMP's tags (the FLV forms of H.264 and AAC):
video a codec byte (frame type and 7 for AVC), a packet type, a 24-bit time offset; then either the configuration (the parameter sets, and how many bytes a size takes), or a picture's NAL units, each after its size; audio a format byte (10 for AAC), a packet type; then either the configuration (profile, rate, channels), or one frame.
A picture comes out in Annex B form, the parameter sets in front of each key picture; an audio frame after its ADTS header. Times are the tags' (ms, plus the video's offset), from the first one seen, in 90 kHz ticks. Other codecs are passed over.
5 imports
import Base import ./bytes.bend as B import ./rtmp_core.bend as K import ./frame.bend as F import ./audio.bend as U
The reader could not load this file (at 0xfbc4773809086afacef84e7fba6d620c/rtmp_core.bend:364). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Wait)
- observed : 'Wait'
Location:
363 | type Ev is Data:
364>| Wait{}
| ^^^^
365 | Skip{st: Dec, rest: List<&2, U32>}