UNPKG

libcaption-node

Version:

libcaption-node enables you to embed captions 608 captions into your videos. Most of the work is done with [ffmpeg](https://github.com/xonecas/ffmpeg-node) and [libcaption](https://github.com/szatmary/libcaption).

16 lines (13 loc) 488 B
"use strict"; /** * Created by abdulhagi on 4/25/17. */ // only ES5 is allowed in this file require("babel-core/register"); require("babel-polyfill"); // other babel configuration, if necessary // load and start your app var LibCaptionNode = require("./libCaptionNode.js"); // let libCaptionNode = new LibCaptionNode.default; // libCaptionNode.embedscc(`${process.cwd()}/test-sources/source.mp4`, `${process.cwd()}/test-sources/caption.scc`); module.exports = LibCaptionNode.default;