mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-30 07:45:25 +02:00
Remove fluent-ffmpeg dependency
This commit is contained in:
parent
8562b8d1b3
commit
b61ecefce4
35 changed files with 4405 additions and 50 deletions
16
server/libs/fluentFfmpeg/presets/podcast.js
Normal file
16
server/libs/fluentFfmpeg/presets/podcast.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*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' ]);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue