1.0.0 • Published 9 months ago

@radically-straightforward/ffmpeg v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Radically Straightforward · FFmpeg

🎞️ Install FFmpeg as an npm package

Installation

$ npm install @radically-straightforward/ffmpeg

Note: For quick-and-easy testing you may run FFmpeg from the command line with npx instead of installing it explicitly:

$ npx @radically-straightforward/ffmpeg

Note: By default the latest version of FFmpeg is installed. You may specify a version in package.json with a ffmpeg property, for example:

package.json

{
  "ffmpeg": "7.1.1"
}

Usage

$ npx ffmpeg

Note: If the command above doesn’t work, which may happen in particular on Windows, use the path to the binary instead of npx:

> .\node_modules\.bin\ffmpeg

Related Work

ffmpeg-static

Only supports specific versions of FFmpeg and requires an update to the package itself when a new version of FFmpeg is released. At the time of this writing (2025-06-09) the latest supported version is FFmpeg 6.0 from 2023-02-28.

@radically-straightforward/ffmpeg, on the other hand, supports new versions of FFmpeg as soon as they’re released.

Sources

1.0.0

9 months ago