From 438bf3f0f3a572b7b299c5d4869adeaa8dc4edd1 Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Wed, 9 Mar 2022 19:58:01 +0000 Subject: [PATCH] Fix space --- Community/Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Community/Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js b/Community/Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js index 5a1eb94..a52d188 100644 --- a/Community/Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js +++ b/Community/Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js @@ -261,7 +261,7 @@ const plugin = (file, librarySettings, inputs, otherArguments) => { new_bitrate = Math.max(new_bitrate, Math.min(MediaInfo.videoBR, targetBitrate * 0.6)); } response.preset += ` -b:v ${new_bitrate} -maxrate ${Math.round(new_bitrate * 1.3)}` - + `-minrate ${Math.round(new_bitrate * 0.7)} -bufsize ${bufsize}`; + + ` -minrate ${Math.round(new_bitrate * 0.7)} -bufsize ${bufsize}`; response.infoLog += `☒H264 Resolution is ${file.video_resolution},` + ` bitrate was ${Math.round(MediaInfo.videoBR / 1000)}Kbps.` + ` HEVC target bitrate will be ${Math.round(new_bitrate / 1000)}Kbps.\n`;