Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ghondar/hls-ffmpeg


https://github.com/ghondar/hls-ffmpeg

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# hls-ffmpeg
> Quick converter hls and ffmpeg resolutions

## Install

```js
npm install --save hls-ffmpeg
```

## Convert video

```js
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

```js
var json = {
input: 'test.mov',
time: '10'
}

hf.hls(json, function(err, data){
console.log(err||data);
})
```