node.js - Multiple files output in fluent-ffmpeg -
is possible add multiple files input fluent-ffmpeg , output provided files..?
edit 1:
var commonpath = __dirname + '/path/to/file/'; ffmpeg() .input(commonpath + 'file1.mp4') .output(commonpath + 'newfile1.avi') .toformat('avi') .input(commonpath + 'file2.mp4') .output(commonpath + 'newfile2.avi') .toformat('avi') .on('error',function(err){ console.log(err); }) .run();
yes, if go through docs of fluent-ffmpeg
, it's specified there can add multiple inputs , outputs using .input()
, .output()
.
Comments
Post a Comment