Skip to content

psirenny/gulp-fluent-ffmpeg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'));
});

About

A fluent ffmpeg plugin for gulp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy