An open API service indexing awesome lists of open source software.

https://github.com/konsumer/easy-ffmpeg

Fluent self-contained interface to ffmpeg for nodejs
https://github.com/konsumer/easy-ffmpeg

Last synced: over 1 year ago
JSON representation

Fluent self-contained interface to ffmpeg for nodejs

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/konsumer/easy-ffmpeg.svg?branch=master)](https://travis-ci.org/konsumer/easy-ffmpeg)

This has exactly the same interface as [node-fluent-ffmpeg](https://github.com/fluent-ffmpeg/node-fluent-ffmpeg). It's a thin wrapper that includes binaries for mac, windows, and linux.

## installation

[![Greenkeeper badge](https://badges.greenkeeper.io/konsumer/easy-ffmpeg.svg)](https://greenkeeper.io/)

You can install it with `npm install easy-ffmpeg`

## usage

If you are already using [fluent-ffmpeg](https://github.com/fluent-ffmpeg/node-fluent-ffmpeg), update your package.json and you are done.

```js
const ffmpeg = require('fluent-ffmpeg')
```

to

```js
const ffmpeg = require('easy-ffmpeg')
```

## more info

Here is where I get my static binaries:

```json
{
"linux": {
"ia32": "http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-32bit-static.tar.xz"
},

"darwin": {
"x64": "http://evermeet.cx/pub/ffmpeg/ffmpeg-VERSION.7z"
},

"win32": {
"ia32": "http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-VERSION-win32-static.7z"
}
}
```

If you want to download your own up-to-date versions, use `npm run bin`. You will need curl/7zip/tar binaries in your path, and you will need to be on linux or mac.