0.2.1 • Published 7 years ago

simple-video-converter v0.2.1

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

version 0.2.0

Requirements

You need to have ffmpeg installed on your machine before using this package

Installation

npm install simple-video-converter

USAGE

var sfw = require('simple-video-converter');
var config = {
  video: {
    codec: "libx264",
    format: "mp4",
    quality: 25,
    resolution: "1280x720",
    bufsize: '923k',
    maxrate: '692k',
    profile: 'main',
    level: 3.1
  },
  audio: {
    codec: "aac",
    bitrate: "128k",
    rate: 48000
  }
}
var videolist = [
  ['/path/videoToConvert.mov','/path/videoConverted.mp4'],
  ...
];
var onEnd = function(){console.log('done')};

sfw.multi(config, videolist, onEnd);

sfw.single(config)('/path/videoToConvert.mov', '/path/videoConverted.mp4', onEnd);

USE IT AS CLI

if installed globally you can use it directly in command line

$ simple-video-converter
or
$ svc
0.2.1

7 years ago

0.2.0

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago