mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-14 09:45:55 -07:00
Add -strict -2
This commit is contained in:
parent
63114cc082
commit
3f40c6c5d5
1 changed files with 3 additions and 0 deletions
|
|
@ -89,6 +89,9 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
|
||||||
);
|
);
|
||||||
|
|
||||||
response.preset = transcodeKeepOneAudioStream.preset;
|
response.preset = transcodeKeepOneAudioStream.preset;
|
||||||
|
if (['dca', 'truehd'].includes(audioCodec)) {
|
||||||
|
response.preset += ' -strict -2';
|
||||||
|
}
|
||||||
response.container = `.${file.container}`;
|
response.container = `.${file.container}`;
|
||||||
response.handbrakeMode = false;
|
response.handbrakeMode = false;
|
||||||
response.FFmpegMode = true;
|
response.FFmpegMode = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue