flashvideo.js 300 B

12345678910111213141516
  1. /*jshint node:true */
  2. 'use strict';
  3. exports.load = function(ffmpeg) {
  4. ffmpeg
  5. .format('flv')
  6. .flvmeta()
  7. .size('320x?')
  8. .videoBitrate('512k')
  9. .videoCodec('libx264')
  10. .fps(24)
  11. .audioBitrate('96k')
  12. .audioCodec('aac')
  13. .audioFrequency(22050)
  14. .audioChannels(2);
  15. };