A simple parser that can parse ARIB STD-B24 subtitle format in MPEG-TS stream.
This implementation leverages JavaScript TextDecoder to do the decoding.
Every mpeg-ts packet has fixed size bytes data, every packet can different meaning based on the pid. This implementation will analyze the pid and packet data, and feed it into TextDecoder.
- Realtime parsing
- Table 7-14: control function
- Positioning
- color map and styling parsing