Merge pull request #258 from HaveAGitGat/log_fixes

Add -strict -2
This commit is contained in:
HaveAGitGat 2022-01-23 21:49:10 +01:00 committed by GitHub
commit 0fed4e0ddc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,6 +89,9 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
);
response.preset = transcodeKeepOneAudioStream.preset;
if (['dca', 'truehd'].includes(audioCodec)) {
response.preset += ' -strict -2';
}
response.container = `.${file.container}`;
response.handbrakeMode = false;
response.FFmpegMode = true;