1.0.8 • Published 7 years ago

mp4mergerv2 v1.0.8

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

mp4merger

Build Status

This module is used to merge two mp4 files together.

Installation

npm install mp4merger --save

Usage

  const Media = require('mp4merger');
  const media = new Media();

  var pathToVideos = "C:/videos/location";
  var pathToOutput = "C:/output/location/";
  var rgxStr = "/(.*)/";

  media.merge(pathToVideos, pathToOutput, rgxStr)
    .then(function(sol) {
      console.log(sol);
    })
    .catch(function(err) {
      console.error(err);
    });

Dependencies

  • ffmpeg-static: ffmpeg static binaries for Mac OSX and Linux and Windows
  • fs-extra: fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.

License

ISC

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago