dnm-node-cep-ffmpeg-installer
v1.0.2
Published
Installs binaries of `ffmpeg` and `ffprobe` for Mac OS/X, Windows 32 and 64 bit
Downloads
232
Keywords
Readme
dnm-node-cep-ffmpeg-installer
Installs binaries of ffmpeg
and ffprobe
for Mac OS/X, Windows 32 and 64 bit, and provides a path and version according to the user OS.
Helpful to use fluent-ffmpeg
with Adobe CEP panel and Node.
Forked from node-ffmpeg-installer
Install
npm install dnm-node-cep-ffmpeg-installer
Usage examples
const ffmpegBin = require('dnm-node-cep-ffmpeg-installer');
console.log(ffmpegBin.ffmpegPath, ffmpegBin.ffprobePath, ffmpegBin.version);
fluent-ffmpeg
const ffmpegBin = require('dnm-node-cep-ffmpeg-installer');
const ffmpeg = require('fluent-ffmpeg');
ffmpeg.setFfmpegPath(ffmpegBin.ffmpegPath);
ffmpeg.setFfprobePath(ffmpegBin.ffprobePath);
The binaries
Downloaded from the sources listed at ffmpeg.org:
- Mac OS/X (4.1): https://ffmpeg.zeranoe.com/builds/macos64/static/
- Windows 32-bit (4.1): https://ffmpeg.zeranoe.com/builds/win32/static/
- Windows 64-bit (4.1): https://ffmpeg.zeranoe.com/builds/win64/static/
For version updates, submit issue or pull request.
Upload new versions
In every updated platforms/*
directory:
npm run upload