svenjacobs / chipcaco

Node.js command line tool and library for converting .264 files produced by some Chinese IP cameras
MIT License
11 stars 7 forks source link

How to use chipcaco from NodeJS? #3

Closed svenjacobs closed 4 years ago

svenjacobs commented 5 years ago

Hi @onyii5119 and @Chetanbansiwal,

regarding your offtopic discussion in #2 ;) you can use chipcaco from NodeJS like this.

npm install --save chipcaco

const chipcaco = require("chipcaco");

chipcaco.file(...);
chipcaco.buffer(...);

For more details on the API see lib.js.