audiobookshelf/server/libs/fluentFfmpeg/presets/divx.js

14 lines
286 B
JavaScript

/*jshint node:true */
'use strict';
exports.load = function(ffmpeg) {
ffmpeg
.format('avi')
.videoBitrate('1024k')
.videoCodec('mpeg4')
.size('720x?')
.audioBitrate('128k')
.audioChannels(2)
.audioCodec('libmp3lame')
.outputOptions(['-vtag DIVX']);
};