HaveAGitGat / Tdarr

Tdarr - Distributed transcode automation using FFmpeg/HandBrake + Audio/Video library analytics + video health checking (Windows, macOS, Linux & Docker)
Other
3.05k stars 96 forks source link

Thorough health check not selecting the selected decoder for amf (uses vaapi) and videotoolbox (uses nvenc) #1114

Open flipou83 opened 2 weeks ago

flipou83 commented 2 weeks ago

Please put plugin requests/bugs at: https://github.com/HaveAGitGat/Tdarr_Plugins

Describe the bug When using thorough health checks, I want to use my mac mini and my amd (cpu and gpu) windows machine. When I select videotoolbox to do thorough healthcheck it errors out and says it used nvenc decode engine. When selecting amf from the dropdown on my AMD windows node the thorough health checks fails trying to use vaapi (which is only on linux I assume).

To Reproduce have a windows node with amd cpu/gpu, do a thorough health check on gpu after selecting amf from the drop down menu. have a macos m series node, do a thorough heatlh check on gpu after selecting videotoolbox from the drop down menu.

Expected behavior I expected the windows node to actually use the APU and or GPU with the amf engine to decode and health check my files. Same for the macos node with video toolbox.

Screenshots If applicable, add screenshots to help explain your problem.

Please provide the following information:

-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]

Additional context I've talked a lot of the discord about this issue and I've found a work around using cpu custom arguments in the thorough health check option of the node -hwaccel d3d11va.. It uses a bit of 3D ressources from my video card but is still not very fast and efficient.