Removed -tune argument breaking functionality.

This commit is contained in:
Stickie 2023-08-06 02:54:36 +02:00 committed by GitHub
parent a6673a514e
commit fe18f31eaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -229,7 +229,7 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
response.preset = '-c:v vp8_cuvid';
}
response.preset += `,-map 0 -c:v h264_nvenc -preset fast -crf 23 -tune film ${bitrateSettings} `
response.preset += `,-map 0 -c:v h264_nvenc -preset fast -crf 23 ${bitrateSettings} `
+ `-c:a copy -c:s copy -max_muxing_queue_size 9999 -pix_fmt yuv420p ${extraArguments}`;
response.processFile = true;
response.infoLog += 'File is not h264. Transcoding. \n';