ffbinaries-extra
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

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.

/ffbinaries-extra/

    Package Sidebar

    Install

    npm i ffbinaries-extra

    Weekly Downloads

    5

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    6.91 kB

    Total Files

    6

    Last publish

    Collaborators

    • richienb