Handbrake Js Versions Save

Video encoding / transcoding / converting for node.js

v7.0.0

1 year ago

Breaking changes since v6.0.0

  • Upgraded HandbrakeCLI from v1.3.3 to v1.6.1. Please read the Handbrake Release notes to familiarise with what changed.
  • Dropped support for Node.js versions less than v14

If you find any issues please let me know.

v6.0.0

2 years ago

Breaking changes since v5.0.3

  • Dropped support for Node.js < v12.17

New features

  • 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'
    })
    

Other changes

  • Codebase rewritten as ECMAScript Modules. This is a non-functional change - users can still load handbrake-js using either import or require.

v5.0.0

4 years ago

Breaking changes since v4.0.3

  • Dropped support for Node.js versions less than v10
  • For macOS and Windows users: upgraded the included HandbrakeCLI binary to v1.3.0
    • Linux user reminder: handbrake-js will use whichever HandbrakeCLI binary is installed on your system, you are responsible for having the latest version installed. See the README for instructions how to install HandbrakeCLI.

New features

  • Added the hbjs.run() method which returns a Promise.

v4.0.0

4 years ago

Breaking changes since v3.0.8

  • Upgraded HandbrakeCLI from v1.1.2 to v1.2.2. This upgrade features quite a lot of changes, please read the Handbrake release notes.
  • Dropped support for Node.js versions less than v8.

New features

Upgrade notes

  • There are no breaking changes to the handbrake-js API itself, only to the underlying HandbrakeCLI executable (for example, deprecated presets like "Normal", "Android" etc have been removed).
  • You can safely upgrade handbrake-js without changing any code, however, be sure to do some test encodes with your current config before use in production.

Any queries or issues, please raise a ticket.

v3.0.0

6 years ago

Breaking changes since v2.2.2

  • Module now requires node version 4 or above
  • Handbrake upgraded from v0.10.5 to v1.0.7

v2.2.0

7 years ago

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 })