ts-nalstream
v1.0.1
Published
Parse NAL units out of MPEG-TS Video Stream Packets
Maintainers
Readme
TS-NALStream
TS-NALStream provides a parser for Network Access Layer units from MPEG-TS video streams. The package exports a single function:
function parseNALStream(bytes: Uint8Array | Iterable<Uint8Array>): Generator<Uint8Array>;The input is either a single data array from a video Packet produced by ts-demuxer, or an iterable of data arrays from sequential Packets. The output is a sequence of Uint8Arrays (aliasing the input bufers) referring to individual NAL units with encoded H.254 or HEVC video data.
