JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 190272
  • Score
    100M100P100Q161072F
  • License BSD-3-Clause

ffmpeg static binaries for Mac OSX and Linux and Windows

Package Exports

  • ffmpeg-static

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ffmpeg-static) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ffmpeg-static

ffmpeg static binaries for Mac OSX and Linux and Windows

build status

Installation

This module is installed via npm:

$ npm install ffmpeg-static

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

Currently supports Mac OS X (64-bit), Linux (32 and 64-bit) and Windows (32 and 64-bit).

Currently version 3.1 is installed for Mac and Linux, and 3.0.1 for Windows.

I pulled the versions from the ffmpeg static build pages linked from the official ffmpeg site. Namely:

NB: Open to pull requests to update this module with the latest versions.

Ideally I'd like to dynamically pull the latest version down, but this requires access to 7-zip which and being able to untar xz files.

And I couldn't find a good js-only decoders for these files either.

So, for now it's just embedded binaries.