make-only-subtitle-default
HaveAGitGat 4 years ago committed by GitHub
parent 3292022e86
commit 438bf3f0f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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`;

Loading…
Cancel
Save