w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Encode videos using Nodejs + ffmpeg or handbrake

have you considered handbrake-js?

an example encode:

var hbjs = require("handbrake-js");

hbjs.spawn({ input: "some video.avi", output: "some vide.m4v" })
  .on("progress", function(progress){
    console.log(
      "Percent complete: %s, ETA: %s", 
      progress.percentComplete, 
      progress.eta
    );
  });




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.