Video encoding / transcoding / converting for node.js
If you find any issues please let me know.
Added the HandbrakeCLIPath
option to the spawn
, exec
and run
methods. Use this to override the built-in path to the underlying HandbrakeCLI
binary. See the docs in the README. #62
hbjs.spawn({
input: 'something.avi',
output: 'something.m4v',
HandbrakeCLIPath: './somewhere/HandbrakeCLI'
})
import
or require
.hbjs.run()
method which returns a Promise.Any queries or issues, please raise a ticket.
Added usage statistics - I'd like to know whether i can drop support for old versions of Node. No input args (e.g. filenames) or option values (e.g. preset or encoder settings) are reported at all, only invocation count, flag usage count, module and Node versions.
To opt out of stats, pass the no-usage-stats
flag to either .spawn()
or .exec()
. For example:
hbjs.spawn({ input: "something.avi", output: "something.m4v", 'no-usage-stats': true })