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
make-only-subtitle-default
Liam Potter 4 years ago committed by GitHub
parent 4777f2a676
commit a2ff19b97b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save