Tdarr
Tdarr copied to clipboard
Error in ffmpegCommandSetVideoEncoder flow plugin
Describe the bug A clear and concise description of what the bug is.
Error in ffmpegCommandSetVideoEncoder flow plugin when selecting "veryslow" ffmeg preset.
Plugin works fine in same flow using "fast" and "slow" options.
To Reproduce Steps to reproduce the behavior:
Set plugin to "veryslow" ffmpeg preset
Expected behavior A clear and concise description of what you expected to happen.
Absence of undocumented feature (error)
Screenshots If applicable, add screenshots to help explain your problem.
Please provide the following information:
-
Config files [can be found in /app/configs/ when using Docker or in the /configs folder next to Tdarr_Updater if not using Docker]
-
Job reports: https://docs.tdarr.io/docs/other/job-reports
2024-01-12T16:57:24.982Z PsKQ15gO2:Node[cheetah-node]:Worker[next-noddy]:[h264_nvenc @ 000002868974c000] [Eval @ 000000e57f5feaa0] Undefined constant or missing '(' in 'veryslow' 2024-01-12T16:57:24.982Z [h264_nvenc @ 000002868974c000] Unable to parse option value "veryslow" 2024-01-12T16:57:24.982Z [h264_nvenc @ 000002868974c000] Error setting option preset to value veryslow.
- Log files [can be found in /app/logs/ when using Docker or in the /logs folder next to Tdarr_Updater if not using Docker]
-Worker error [can be found on the 'Tdarr' tab by pressing the 'i' button on a failed item in the staged file section or in the transcode error section at the bottom]
-
OS: [e.g. Linux] Node is on Windows 10 Server is on Linux
-
Browser [e.g. chrome, safari] Chrome
-
Version [e.g. 2.00.00] 2.17.01 Pro
Additional context Add any other context about the problem here.
The "slower" preset option gives the same result.
2024-01-13T04:19:16.716Z 3TTWLKjvE9:Node[cheetah-node]:Worker[true-trex]:[h264_nvenc @ 000001bed7b01c80] [Eval @ 00000046147fed80] Undefined constant or missing '(' in 'slower' 2024-01-13T04:19:16.716Z [h264_nvenc @ 000001bed7b01c80] Unable to parse option value "slower" 2024-01-13T04:19:16.716Z [h264_nvenc @ 000001bed7b01c80] Error setting option preset to value slower.73
Seems ffmpeg has some internal logic so that slow
fast
etc work fine but ideally integers 0-18 should be used.