JSPM

video-converter

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 105
  • Score
    100M100P100Q71955F
  • License ISC

video/audio format converter

Package Exports

  • video-converter

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (video-converter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Video/Audio format converter

Video/Audio format converter that uses ffmpeg and fluent-ffmpeg

Build Status

installation

npm install video-converter

you should also have ffmpeg installed on your machine

usage

var converter = require('format-converter');

converter.setFfmpegPath("path/to/ffmpeg", function(err) {
    if (err) throw err;
});

// convert mp4 to mp3
converter.convert("sample.mp4", "sample.mp3", function(err) {
    if (err) throw err;
    console.log("done");
});