@radically-straightforward/ffmpeg v1.0.0
Radically Straightforward · FFmpeg
🎞️ Install FFmpeg as an npm package
Installation
$ npm install @radically-straightforward/ffmpegNote: For quick-and-easy testing you may run FFmpeg from the command line with
npxinstead of installing it explicitly:$ npx @radically-straightforward/ffmpegNote: By default the latest version of FFmpeg is installed. You may specify a version in
package.jsonwith affmpegproperty, for example:
package.json{ "ffmpeg": "7.1.1" }
Usage
$ npx ffmpegNote: 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
- https://github.com/BtbN/FFmpeg-Builds/releases/tag/autobuild-2025-06-08-14-00
- https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2025-06-08-14-00/ffmpeg-n7.1.1-22-g0f1fe3d153-linux64-gpl-7.1.tar.xz
- https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2025-06-08-14-00/ffmpeg-n7.1.1-22-g0f1fe3d153-linuxarm64-gpl-7.1.tar.xz
- https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2025-06-08-14-00/ffmpeg-n7.1.1-22-g0f1fe3d153-win64-gpl-7.1.zip
- https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2025-06-08-14-00/ffmpeg-n7.1.1-22-g0f1fe3d153-winarm64-gpl-7.1.zip
- https://osxexperts.net/
9 months ago