1.0.5 • Published 6 years ago

ffmpeg-static-electron-react v1.0.5

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
6 years ago

ffmpeg-static-electron-react

This is a modified version of ffmpeg-static by Eugene Ware. It allows you to use ffmpeg-static within an a renderer process in Electron and React.

ffmpeg static binaries for Mac OSX and Linux and Windows.

Supports macOS (64-bit), Linux (32 and 64-bit) and Windows (32 and 64-bit). The current ffmpeg version is 4.0.

Note: The version of ffmpeg-static follows SemVer. When releasing new versions, we do not consider breaking changes in ffmpeg itself, but only the JS interface (see below). To stop ffmpeg-static from breaking your code by getting updated, lock the version down or use a lockfile.

Installation

This module is installed via npm:

$ npm install ffmpeg-static-electron-react

Example Usage

Returns the path of a statically linked ffmpeg binary on the local filesystem.

var ffmpeg = require('ffmpeg-static');
console.log(ffmpeg.path);
// /Users/eugeneware/Dropbox/work/ffmpeg-static/bin/darwin/x64/ffmpeg

Sources of the binaries

The build script downloads binaries from these locations:

Building the project

The unzip, tar and 7zr CLI executables need to be installed. On macOS, use brew install p7zip gnu-tar. You must copy the build script into a build/index.sh file then at the base of the repository, run:

$ npm run-script build
1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago