Skip to content

Richienb/ffbinaries-extra

FFBinaries Extra Travis CI Build Status

FFBinaries with promise support, request normalisation and a simplified API.

NPM Badge

Install

npm install ffbinaries-extra

Usage

const ffBinaries = require("ffbinaries-extra");

ffBinaries.downloadBinaries();
//=> Promise<void>

API

getVersions()

Get the versions of FFBinaries available.

getLatestVersion()

Get the latest version of FFBinaries available.

downloadBinaries(options?)

options

Type: object

components

Type: Array<"ffmpeg" | "ffprobe" | "ffserver" | "ffplay">

An array of string values that describes which components to download. If not provided it will default to all components available for the platform.

version

Type: string

The version of ffmpeg to download.

extract

Type: boolean

Automatically extract downloaded zip files. Defaults to true.

destination

Type: string

The path where the binaries will be downloaded to.

supportedPlatforms

Type: string[]

The platforms supported by FFBinaries.

currentPlatform

Type: string

The current platform as detected from the os type and architecture.

About

FFBinaries with promise support, request normalisation and a simplified API.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •