Remove fluent-ffmpeg dependency

This commit is contained in:
advplyr 2022-07-06 17:38:19 -05:00
parent 8562b8d1b3
commit b61ecefce4
35 changed files with 4405 additions and 50 deletions

View file

@ -0,0 +1,14 @@
/*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']);
};

View file

@ -0,0 +1,16 @@
/*jshint node:true */
'use strict';
exports.load = function(ffmpeg) {
ffmpeg
.format('flv')
.flvmeta()
.size('320x?')
.videoBitrate('512k')
.videoCodec('libx264')
.fps(24)
.audioBitrate('96k')
.audioCodec('aac')
.audioFrequency(22050)
.audioChannels(2);
};

View 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' ]);
};