hls-ffmpeg
v0.0.9
Published
Quick converter hls and ffmpeg resolutions
Downloads
2
Readme
hls-ffmpeg
Quick converter hls and ffmpeg resolutions
Install
npm install --save hls-ffmpeg
Convert video
var hf = require('hls-ffmpeg')
var json = {
input: './360.mp4',
format: '848x480',
output: './output/test.mp4'
}
hf.ffmpeg(json1, function(err, data){
console.log(err||data)
})
Convert video
var json = {
input: 'test.mov',
time: '10'
}
hf.hls(json, function(err, data){
console.log(err||data);
})