mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
17 lines
531 B
JavaScript
17 lines
531 B
JavaScript
|
/*jshint node:true */
|
||
|
'use strict';
|
||
|
|
||
|
exports.load = function(ffmpeg) {
|
||
|
ffmpeg
|
||
|
.format('m4v')
|
||
|
.videoBitrate('512k')
|
||
|
.videoCodec('libx264')
|
||
|
.size('320x176')
|
||
|
.audioBitrate('128k')
|
||
|
.audioCodec('aac')
|
||
|
.audioChannels(1)
|
||
|
.outputOptions(['-flags', '+loop', '-cmp', '+chroma', '-partitions','+parti4x4+partp8x8+partb8x8', '-flags2',
|
||
|
'+mixed_refs', '-me_method umh', '-subq 5', '-bufsize 2M', '-rc_eq \'blurCplx^(1-qComp)\'',
|
||
|
'-qcomp 0.6', '-qmin 10', '-qmax 51', '-qdiff 4', '-level 13' ]);
|
||
|
};
|