Tdarr
Tdarr copied to clipboard
Transcoding with custom hevc_amf Codec isn't recognized as GPU specific Plugin (CPU Worker Required)
Describe the bug My setup looks like this: Server (Docker on Linux)
Node-1 (Windows)
- AMD GPU
- AMD CPU
Node-2 (Windows)
- Nvidia GPU
- Intel CPU
For Node-1 I've copy/pasted this plugin and modified it to use the hvec_amf Codec. When testing the Plugin with a GPU worker only on Node-1 it says "require CPU Worker". Even tough this is not wanted, as I want to use my AMD GPU for transcoding. Setting "Allow GPU workers to do CPU tasks" to "On" helps for the moment.
If I add Tdarr_Plugin_MC93_Migz1FFMPEG_CPU to my Plugin Stack after my custom Plugin the CPU Utilization doesn't increase. If I add it in front of my custom Plugin the GPU Utilization doens't increase. It appears that I can only use either my CPU or GPU even though I want to be able to use both.
With a second node, things get even messier. :D Node-2 tries to use my custom Plugin and just stops with "DLL amfrt64.dll failed to open" (obviously as it has no AMD CPU/GPU)
To Reproduce Take this plugin, modify Line 338 "-c:v hevc_nvenc" to "-c:v hevc_amf" and try transcoding with CPU and GPU workers. (CPU Plugin mentioned above)
Expected behavior I expected Tdarr to recognize my custom Plugin as a GPU specific one. So that adding GPU workers doesn't bring up "CPU worker required"
Screenshots
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]
-
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 Log) F8Mdr9AT0-log.txt (Worker Log) DzKIFysmf6-log.txt
-Worker error Error/Warning on Node-1 when only adding GPU Workers 2022-10-02T23:46:39.999Z F8Mdr9AT0:Node[Home_PC]:Worker[IK7Z8kwXm]:[Step W03.1] [C1] Won't process: requireCPU
Error on Node-2 2022-10-02T23:43:31.691Z [hevc_amf @ 000001753a073040] DLL amfrt64.dll failed to open 2022-10-02T23:43:31.691Z Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height 2022-10-02T23:43:31.691Z 2022-10-02T23:43:31.691Z Conversion failed! 2022-10-02T23:43:31.691Z 2022-10-02T23:43:31.691Z 2022-10-02T23:43:31.692Z YS6rzw0JWP:Node[Developer_NB]:Worker[h5SjvnHLe]:[-error-]
- Browser Chrome
- Version 2.00.18