Nothing Prevents Misery

    hls-ffmpeg

    0.0.9 • Public • Published

    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);
    })

    Install

    npm i hls-ffmpeg

    DownloadsWeekly Downloads

    7

    Version

    0.0.9

    License

    MIT

    Last publish

    Collaborators

    • ghondar