Dash-Industry-Forum/cea608.js

Name: cea608.js

Owner: Dash Industry Forum

Description: A JavaScript project designed to extract CEA-608 captions.

Created: 2015-12-18 18:47:28.0

Updated: 2017-11-29 19:22:11.0

Pushed: 2017-05-04 05:15:25.0

Homepage:

Size: 31

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

cea608.js

A JavaScript project for parsing and decoding CEA-608 caption data.

The input is either binary data (e.g. extracted from a SEI NAL unit) with associated timing or SCC files. The output is either callbacks with time-stamped maps of 32x15 styled characters, or a WebVTT Node stream.

Build and test

This project uses Node.js and mocha with chai for tests. To install the tools and run the tests, type:

npm install
npm test

Syntax is checked using jshint.

For coverage tests, install istanbul and then run the script:

npm install -g istanbul
npm run-script istanbul

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.