ffmpeg-remix

ffmpeg slice/concat


Keywords
remix, ffmpeg, video
License
MIT
Install
npm install ffmpeg-remix@0.1.0

Documentation

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