gulp-fluent-ffmpeg

2.0.0 • Public • Published

gulp fluent ffmpeg

A fluent ffmpeg plugin for gulp. Refer to fluent ffmpeg's docs for api commands.

Build Status

Important

Make sure to specify a file format when transcoding, instead of calling the format() method. This is necessary because of the way gulp handles streaming files.

Installation

npm install gulp-fluent-ffmpeg --save

Example

var ffmpeg = require('gulp-fluent-ffmpeg');

gulp.task('audio', function () {
  // transcode ogg files to mp3
  return gulp.src('src/audio/*.ogg')
    .pipe(ffmpeg('mp3', function (cmd) {
      return cmd
        .audioBitrate('128k')
        .audioChannels(2)
        .audioCodec('libmp3lame')
    }))
    .pipe(gulp.dest('dest/audio'));
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    205
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    205
  • 1.0.2
    13
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i gulp-fluent-ffmpeg

Weekly Downloads

157

Version

2.0.0

License

MIT

Unpacked Size

61.4 kB

Total Files

6

Last publish

Collaborators

  • psirenny