Skip to content

college-africa/bento4-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-bento4-installer

This is a simple bento4 installer node module. The bento4 binaries is installed with the module and provides paths to them.

Installation

npm i --save bento4-installer

Usage

When the bento4-installer is required, as seen below, it returns an object that has the paths to the platform specific executables.

const bento4 = require('bento4-installer')

The bento4 object returned has the following properties:

{
  /* The path to the bento4 bin folder */
  binPath,

  /* The path to the executables */
  aac2mp4,
  mp42avc,
  mp42hevc,
  mp42hls,
  mp42ts,
  mp4compact,
  mp4dash,
  mp4dashclone,
  mp4dcfpackager
  mp4decrypt,
  mp4dump,
  mp4edit,
  mp4encrypt,
  mp4extract,
  mp4fragment,
  mp4hls,
  mp4info,
  mp4mux,
  mp4rtphintinfo,
  mp4split,
  mp4tag,

  /* The current version of this module */
  version,

  /* Is set to true if the OS platform and architecture is supported */
  isPlatformSupported,

  /* Is set to a string with the OS platform and architecture in the following format: <platform>-<architecture>, for example, 'darwin-x64' */
  platform
}

See bento4.com for information on how to use the bento4 executables.

Releases

No releases published

Packages

No packages published

Languages

  • C++ 71.8%
  • Python 25.8%
  • C 2.3%
  • Other 0.1%