It seems like nobody has created npm module to get prebuilt binaries for ffmpeg, ffprobe, ffplay and ffserver.

I went ahead and put something together quickly.

API and Node module

HTTP API: http://ffbinaries.com

Node module: https://www.npmjs.com/package/ffbinaries

Git repos

API: https://github.com/vot/ffbinaries-api

Node module: https://github.com/vot/ffbinaries-api

At the moment it simply links to externally hosted archives containing binaries. In the future they will be repackaged into individual components and I will add automated unzipping in the npm module.

Issues and pull requests welcome.

Tags: ffbinaries, api, npm

Builds failing because of node-gyp missing common.gypi


This issue became apparent on one of CI build boxes. For whatever reason the common.gypi file has gone missing. Stack trace: gyp: /home/builder/.node-gyp/5.9.1/common.gypi not found (cwd: /home/builder/buildtmp/X-JOB1/app/node_modules/fsevents) while reading includes of binding.gyp while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:355:16) gyp ERR! stack at emitTwo (events.js:100:13) gyp ERR! stack at ChildProcess.emit (events.js:185:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) gyp ERR! System Linux 3.10.0-229.7.2.el7.x86_64 gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/builder/buildtmp/X-JOB1/app/node_modules/fsevents/lib/binding/Release/node-v47-linux-x64/fse.node"... more

Tags: node, node-gyp, common.gypi, npm, js