libcaption 0.7 CEA608 / CEA708 closed-caption codec

Libcaption creates and parses closed-caption data, providing an encoder / decoder for the EIA608 and CEA708 closed-caption standards.

608 support is currently limited to encoding and decoding the necessary control and preamble codes as well as support for the Basic North American, Special North American and Extended Western European character sets.

708 support is limited to encoding the 608 data in NTSC field 1 user data type structure.

In addition, utility functions to create h.264 SEI (Supplementary enhancement information) NALUs (Network Abstraction Layer Unit) for inclusion into an h.264 elementary stream are provided.