1.2.0 • Published 6 years ago

handbrake-bin v1.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

handbrake-bin

Build Status npm version npm downloads dependencies styled with prettier semantic-release Commitizen friendly

HandBrake is a tool for converting video from nearly any format to a selection of modern, widely supported codecs. More at https://handbrake.fr/

What is this?

This is a wrapper to install HandBrake as a local dependency through npm.

Install

$ npm install handbrake-bin --save

Linux users may need to run with sudo

Usage

const execFile = require('child_process').execFile;
const handBrake = require('handbrake-bin');

execFile(handBrake, ['--input', 'input.mkv', '--output', 'output.mp4'], err => {
	console.log('Done');
});

Or you could pull object-to-spawn-args and use like this:

import { HandbrakeCLIPath } from 'handbrake-bin';
import toSpawnArgs from 'object-to-spawn-args';

const options = {
    input: 'input.mkv',
    output: 'output.mp4'
}

execFile(handBrake, toSpawnArgs(options), err => {
	console.log('Done');
});

CLI

$ npm install --global handbrake-bin
$ handbrake --help

Credits

All the credits goes to https://github.com/HandBrake/HandBrake and its contributors for their hard work on building HandBrake.

License

MIT © Rafael Milewski

1.2.0

6 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.0.10

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago