]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/ffmpeg-utils.ts
fixing tests to deal with new transcoding parameters
[github/Chocobozzz/PeerTube.git] / server / helpers / ffmpeg-utils.ts
index ab187aa59319625ad19ecc14c649807688a48aeb..f0e2c0af5764caff5d29746476aef246e009d922 100644 (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) {