mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-14 01:36:08 -07:00
Merge pull request #430 from StickieBE/master
Fix issue with Smoove h264 NVENC plugin.
This commit is contained in:
commit
9fc79d891c
2 changed files with 7 additions and 3 deletions
|
|
@ -68,6 +68,7 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
|
|||
reQueueAfter: true,
|
||||
// Leave as true. File will be re-qeued afterwards and pass through the plugin
|
||||
// filter again to make sure it meets conditions.
|
||||
preset: '', // Initialize with an empty string
|
||||
};
|
||||
|
||||
// Check that inputs.container has been configured, else dump out
|
||||
|
|
@ -228,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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue