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

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -