0.0.4 • Published 8 years ago

ffmpeg.io v0.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

ffmpeg.io.js

A quick way to use ffmpeg command

Install

npm install --save ffmpeg.io

Usage

var iof = require('ffmpeg.io')

Change Quality

var json = {
   input: './myVideo.mp4',
   format: '640x360', 
   output: './myVideoModified.mp4'
}
iof.changerQuality(json, function(value){
  //value is true or false
  console.log(value)
});

##Repack

var json = {
   input: './mivideo.mp4',
   output: './mivideo_repack.mp4'
}
iof.repack(json, function(value){
  //value is true or false
  console.log(value)
});

Generate Hls

var json = {
  input: './myVideo.mp4',
  output: './myVideoModified.m3u8'
}

iof.generateHls(json, function(value){
  //value is true or false
  console.log(value);
});
0.0.4

8 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago