# minimal-ffprobe-installer

> Platform independent binary installer of FFprobe for node projects, focusing on installing only binaries required by the target platform.

Latest version **1.0.3** (published 2023-08-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install minimal-ffprobe-installer
pnpm add minimal-ffprobe-installer
yarn add minimal-ffprobe-installer
bun add minimal-ffprobe-installer
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2023-08-22 |
| First published | 2023-08-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Author | Displayce |
| Maintainers | adrienlucbert |
| Keywords | ffprobe, binary |

## Links

- npm: https://www.npmjs.com/package/minimal-ffprobe-installer
- npm.io page: https://npm.io/package/minimal-ffprobe-installer

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^1.4.0

## Recent versions

- 1.0.3 (latest) — 2023-08-22
- 1.0.2 — 2023-08-22
- 1.0.1 — 2023-08-22
- 1.0.0 — 2023-08-22

## README

# minimal-ffprobe-installer

Platform independent binary installer of FFprobe for node projects, focusing on installing only binaries required by the target platform.

Based on [@microlink/ffprobe](https://github.com/microlinkhq/ffprobe), [ffprobe-static](https://github.com/eugeneware/ffmpeg-static/tree/master/packages/ffprobe-static)
and [@ffprobe-installer/ffprobe](https://github.com/SavageCore/node-ffprobe-installer).

## Installation

``` bash
$ npm install minimal-ffprobe-installer
```

*Note:* During installation, it will download the appropriate `ffprobe` binary from the [`b6.0` GitHub release](https://github.com/eugeneware/ffprobe-static/releases/tag/b6.0). Use and distribution of the binary releases of `ffprobe` are covered by their respective license.

### Custom binaries url

By default, the `ffprobe` binary will get downloaded from `https://github.com/eugeneware/ffprobe-static/releases/download`. To customise this, e.g. when using a mirror, set the `FFPROBE_BINARIES_URL` environment variable.

```shell
export FFPROBE_BINARIES_URL=https://cdn.npmmirror.com/binaries/ffprobe-static
npm install minimal-ffprobe-installer
```

## Example Usage

Returns the path of a statically linked ffprobe binary on the local filesystem.

``` js
const { ffprobePath } = require('minimal-ffprobe-installer');
console.log(ffprobePath)
// /home/user/playground/node_modules/minimal-ffprobe-installer/bin/ffprobe
```

## Sources of the binaries

The binaries downloaded by `ffprobe-static` are from these locations:

- [Windows x64 builds](https://www.gyan.dev/ffmpeg/builds/)
- [Windows x86 builds](https://github.com/sudo-nautilus/FFmpeg-Builds-Win32/)
- [Linux x64/x86/ARM/ARM64 builds](https://johnvansickle.com/ffmpeg/)
- macOS [x64 (Intel)](https://evermeet.cx/pub/ffmpeg/) & [ARM64 (Apple Silicon)](https://osxexperts.net/) builds

## Show your support

This npm package includes statically linked binaries that are produced by the following individuals. Please consider supporting and donating to them who have been providing quality binary builds for many years:

- **Linux builds**: [John Van Sickle](https://www.johnvansickle.com/ffmpeg/)
- **macOS builds**: [Helmut K. C. Tessarek](https://evermeet.cx/ffmpeg/#donations)

---
_Source: https://npm.io/package/minimal-ffprobe-installer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
