I just discovered Stash and I am trying to get hardware live transcoding to work. I have a NVIDIA GeForce GTX 1650 and it works in my plex docker but I can't seem to get it to work with Stash. Looking for some tips to try.
I've tried adding variables like I do for plex -
NVIDIA_VISIBLE_DEVICES
NVIDIA_DRIVER_CAPABILITIES
and extra parm --runtime=nvidia
It detects the latest FFMpeg version 6.1.1. I am assuming this is a unraid issue but no idea what to do from here.
Debug Log says
024-08-26 08:46:58Info Version v0.26.2 (2a373a25) is already the latest released
2024-08-26 08:46:58Debug Github API request: https://api.github.com/repos/stashapp/stash/tags?per_page=10&page=1
2024-08-26 08:46:57Info stash is running at http://localhost:9999/
2024-08-26 08:46:57Info stash is listening on 0.0.0.0:9999
2024-08-26 08:46:57Debug Github API request: https://api.github.com/repos/stashapp/stash/releases/latest
2024-08-26 08:46:57Info stash version: v0.26.2 (2a373a25) - Official Build - 2024-06-27 00:33:34
2024-08-26 08:46:57Debug Serving embedded UI
2024-08-26 08:46:57Info [InitHWSupport] Supported HW codecs [0]:
2024-08-26 08:46:57Debug [InitHWSupport] Codec vp9_vaapi not supported. Error output: [AVHWDeviceContext @ 0x14a6a4d32d40] Failed to initialise VAAPI connection: -1 (unknown libva error). Device creation failed: -5. Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': I/O error Error parsing global options: I/O error
2024-08-26 08:46:57Debug [InitHWSupport] Codec vp9_qsv not supported. Error output: Device creation failed: -542398533. Failed to set value 'qsv=hw' for option 'init_hw_device': Generic error in an external library Error parsing global options: Generic error in an external library
2024-08-26 08:46:57Debug [InitHWSupport] Codec h264_v4l2m2m not supported. Error output: [h264_v4l2m2m @ 0x1522c9aec8c0] Could not find a valid device [h264_v4l2m2m @ 0x1522c9aec8c0] can't configure encoder [vost#0:0/h264_v4l2m2m @ 0x1522c6cd22c0] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height. Error while filtering: Invalid argument [out#0/null @ 0x1522c9b1d6c0] Nothing was written into output file, because at least one of its streams received no packets.
2024-08-26 08:46:57Debug [InitHWSupport] Codec h264_vaapi not supported. Error output: [AVHWDeviceContext @ 0x152d2c1b1d40] Failed to initialise VAAPI connection: -1 (unknown libva error). Device creation failed: -5. Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': I/O error Error parsing global options: I/O error
2024-08-26 08:46:57Debug [InitHWSupport] Codec h264_qsv not supported. Error output: Device creation failed: -542398533. Failed to set value 'qsv=hw' for option 'init_hw_device': Generic error in an external library Error parsing global options: Generic error in an external library
2024-08-26 08:46:57Debug [InitHWSupport] Codec h264_nvenc not supported. Error output: Unrecognized option 'rc'. Error splitting the argument list: Option not found
2024-08-26 08:46:57Debug FFMpeg version 6.1.1 detected
2024-08-26 08:46:57Debug using ffprobe: /usr/bin/ffprobe
2024-08-26 08:46:57Debug using ffmpeg: /usr/bin/ffmpeg
2024-08-26 08:46:57Debug Reading scraper configs from /root/.stash/scrapers
2024-08-26 08:46:57Debug Reading plugin configs from /root/.stash/plugins
2024-08-26 08:46:57Info using config file: /root/.stash/config.yml