lib/capabilities.js
function(flvtool, cb) {
        if (flvtool.length) {
          return cb(null, flvtool);
        }

        utils.which('flvtool2', function(err, flvtool2) {
          cb(err, flvtool2);
        });
      }
function(flvtool, cb) {
        if (flvtool.length) {
          return cb(null, flvtool);
        }

        utils.which('flvtool2', function(err, flvtool2) {
          cb(err, flvtool2);
        });
      }
function ( flvtool , cb ) { if ( flvtool . length ) { return cb ( null , flvtool ) ; } utils . which ( 'flvtool2' , function ( err , flvtool2 ) { cb ( err , flvtool2 ) ; } ) ; }
Search for flvtool2 in the PATH
Search for flvtool2 in the PATH