https://github.com/blogwy/ffprobe-static-installer
ffprobe static binaries for Mac OSX and Linux and Windows
https://github.com/blogwy/ffprobe-static-installer
binary ffprobe nodejs
Last synced: 3 months ago
JSON representation
ffprobe static binaries for Mac OSX and Linux and Windows
- Host: GitHub
- URL: https://github.com/blogwy/ffprobe-static-installer
- Owner: blogwy
- License: mit
- Created: 2022-09-22T13:39:19.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-02T09:03:40.000Z (over 3 years ago)
- Last Synced: 2025-03-02T13:39:16.700Z (over 1 year ago)
- Topics: binary, ffprobe, nodejs
- Language: JavaScript
- Homepage:
- Size: 43.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ffprobe-static-installer
**[ffprobe](https://ffmpeg.org/ffprobe.html) static binaries for Mac OSX, Linux, Windows.**
Supports macOS (64-bit and arm64), Linux (32 and 64-bit, armhf, arm64), Windows (32 and 64-bit).
**This project is a fork of [ffmpeg-static](https://github.com/eugeneware/ffmpeg-static)**
## Installation
This module is installed via npm:
``` bash
$ npm install ffprobe-static-installer
```
### Custom binaries url
By default, the `ffprobe` binary will get downloaded from `https://github.com/blogwy/ffprobe-static-installer/releases/download/`. To customise this, e.g. when using a mirror, set the `FFPROBE_BINARIES_URL` environment variable.
```shell
export FFPROBE_BINARIES_URL=https://ghproxy.com/https://github.com/blogwy/ffprobe-static-installer/releases/download
```
### Electron & other cross-platform packaging tools
Because `ffprobe-static-installer` will download a binary specific to the OS/platform, you need to purge `node_modules` before (re-)packaging your app *for a different OS/platform* ([read more in #35](https://github.com/eugeneware/ffmpeg-static/issues/35#issuecomment-630225392)).
## Example Usage
Returns the path of a statically linked ffprobe binary on the local filesystem.
``` js
var pathToFFprobe = require('ffprobe-static-installer');
console.log(pathToFFprobe);
```
```
/Users/j/playground/node_modules/ffprobe-static-installer/ffprobe
```
Check the [example script](example.js) for a more thorough example.
## The binaries
* Linux (arm, arm64, ia32, x64): https://www.johnvansickle.com/ffmpeg/
* macOS (x64): https://evermeet.cx/ffmpeg/
* macOS (arm64): https://formulae.brew.sh/formula/ffmpeg
* Windows 32-bit: https://github.com/sudo-nautilus/FFmpeg-Builds-Win32/
* Windows 64-bit: https://www.gyan.dev/ffmpeg/builds/
## Thanks
- [ffmpeg-static](https://github.com/eugeneware/ffmpeg-static)
- [node-ffprobe-installer](https://github.com/SavageCore/node-ffprobe-installer)