fluent-ffmpeg: This library abstracts the complex command-line usage of ffmpeg into a fluent, easy to use node.js module - From https://www.npmjs.com/package/fluent-ffmpeg
var ffmpeg = require('fluent-ffmpeg');
var command = ffmpeg();
ffmpeg('/path/to/file.avi').inputOptions(
'-option1',
'-option2', 'param2',
'-option3',
'-option4', 'param4'
);