aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/helpers/ffmpeg-utils.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts
index a53a7bae4..037bf703a 100644
--- a/server/helpers/ffmpeg-utils.ts
+++ b/server/helpers/ffmpeg-utils.ts
@@ -118,13 +118,13 @@ function transcode (options: TranscodeOptions) {
118 return new Promise<void>(async (res, rej) => { 118 return new Promise<void>(async (res, rej) => {
119 let fps = await getVideoFileFPS(options.inputPath) 119 let fps = await getVideoFileFPS(options.inputPath)
120 // On small/medium resolutions, limit FPS 120 // On small/medium resolutions, limit FPS
121 // if ( 121 if (
122 // options.resolution !== undefined && 122 options.resolution !== undefined &&
123 // options.resolution < VIDEO_TRANSCODING_FPS.KEEP_ORIGIN_FPS_RESOLUTION_MIN && 123 options.resolution < VIDEO_TRANSCODING_FPS.KEEP_ORIGIN_FPS_RESOLUTION_MIN &&
124 // fps > VIDEO_TRANSCODING_FPS.AVERAGE 124 fps > VIDEO_TRANSCODING_FPS.AVERAGE
125 // ) { 125 ) {
126 // fps = VIDEO_TRANSCODING_FPS.AVERAGE 126 fps = VIDEO_TRANSCODING_FPS.AVERAGE
127 // } 127 }
128 128
129 let command = ffmpeg(options.inputPath, { niceness: FFMPEG_NICE.TRANSCODING }) 129 let command = ffmpeg(options.inputPath, { niceness: FFMPEG_NICE.TRANSCODING })
130 .output(options.outputPath) 130 .output(options.outputPath)