ffmpeg-remix

0.1.0 • Public • Published

ffmpeg-remix

NPM version Build Status Coveralls Status Dependency Status Downloads

Packaging of ffmpeg split/concat used for Al Jazeera's PalestineRemix project.

Install

npm i ffmpeg-remix

Usage

import remix from 'ffmpeg-remix';
 
remix({
  output: 'a.mp4',
  input: [
    {
      source: 'foo/bar.mp4',
      start:  23.4, // default 0
      end:    47.2  // default EOF
    },
    {
      source:   'http://baz.org/foo.mp4',
      start:    23.4, // default 0
      duration: 7.2   // end has precedence
    }
  ],
  limit: 5, // max ffmpeg parallel processes, default null (unlimited)
  ffmpegPath: require('ffmpeg-static').path // optionally set path to ffmpeg binary
}, function(err, result) {
  // …
});

License

MIT © Laurian Gridinoc

Readme

Keywords

Package Sidebar

Install

npm i ffmpeg-remix

Weekly Downloads

4

Version

0.1.0

License

MIT

Unpacked Size

8.14 kB

Total Files

5

Last publish

Collaborators

  • gridinoc