From a2ff19b97ba009189212695841598b416c84d5c4 Mon Sep 17 00:00:00 2001 From: Liam Potter Date: Thu, 4 Nov 2021 16:55:05 +0000 Subject: [PATCH] Use user defined preset in ffmpeg command The preset is verified but never used, this PR uses the user defined preset when converting the video --- Community/Tdarr_Plugin_da11_Dallas_FFmpeg_Presets_H264_MP4.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Community/Tdarr_Plugin_da11_Dallas_FFmpeg_Presets_H264_MP4.js b/Community/Tdarr_Plugin_da11_Dallas_FFmpeg_Presets_H264_MP4.js index 2a1abb4..4c44fd6 100644 --- a/Community/Tdarr_Plugin_da11_Dallas_FFmpeg_Presets_H264_MP4.js +++ b/Community/Tdarr_Plugin_da11_Dallas_FFmpeg_Presets_H264_MP4.js @@ -123,7 +123,7 @@ function plugin(file, librarySettings, inputs) { response.preset = ", -map_metadata -1 -map 0:V " + subMap + - " -map 0:a -c:v libx264 -preset medium -c:a aac -strict -2 " + + " -map 0:a -c:v libx264 -preset " + preset + " -c:a aac -strict -2 " + subType; response.reQueueAfter = true; response.processFile = true;