fixing tests to deal with new transcoding parameters

This commit is contained in:
Rigel Kent 2018-07-27 12:50:39 +02:00 committed by Chocobozzz
parent 80bc88c133
commit 19ca8ca939
2 changed files with 14 additions and 15 deletions

View file

@ -87,8 +87,7 @@ function transcode (options: TranscodeOptions) {
let command = ffmpeg(options.inputPath, { 'niceness': FFMPEG_NICE.TRANSCODING })
.output(options.outputPath)
.outputOption('-threads ' + CONFIG.TRANSCODING.THREADS)
.renice(5) // we don't want to make the system unrepsonsive
.preset(standard)
.preset(standard)
let fps = await getVideoFileFPS(options.inputPath)
if (options.resolution !== undefined) {