ffprobe-bin-electron

Static ffprobe binaries for use with electron on Mac OSX, Linux, and Windows

Usage no npm install needed!

<script type="module">
  import ffprobeBinElectron from 'https://cdn.skypack.dev/ffprobe-bin-electron';
</script>

README

ffprobe-bin-electron travis npm downloads JavaScript Style Guide

About

This is a modified module from here

ffprobe static binaries for Mac OSX, Linux, and Windows.

Note: This version of ffprobe-bin-electron follows SemVer. When releasing new versions, we do not consider breaking changes in ffprobe itself, but only the JS interface (see below). To stop ffprobe-bin-electron from breaking your code by getting updated, lock the version down or use a lockfile.

Developer

In order to download all the binaries in preparation

yarn run build-bin

Install

npm install --save ffprobe-bin-electron
# or
yarn add ffprobe-bin-electron

How to use

// ES6
import ffprobe from 'ffprobe-bin-electron';
// ES5
const ffprobe = require('ffprobe-bin-electron').default;


console.log(ffprobe);
// /Users/craigoconnor/Projects/ffprobe-test/ffprobe-bin-electron/bin/darwin/x64/ffprobe

The binaries sources

All binaries came from here


ISC License (ISC)

Copyright 2019 Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC") Copyright (c) 1995-2003 by Internet Software Consortium

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.