libcaption is a library written in C to aid in the creating and parsing of closed caption data, open sourced under the MIT license to use within community developed broadcast tools. To maintain consistency across platforms libcaption aims to implement a subset of EIA608, CEA708 as supported by the Apple iOS platform.
Origin Source : https://github.com/szatmary/libcaption
How to compile
Install build dependencies (git, cmake, a compiler such as xcode, gcc or clang and optionally re2c and ffmpeg)
- run cmake . && make
- or to compile without re2c cmake -DENABLE_RE2C=OFF . && make
- finally sudo make install to install