Open jeremymeyers opened 7 months ago
I don't believe AMF is explicitly supported, but the presets for hwaccel are generally troublesome, there was someone in discord reporting decoder surfaces missing because NVDEC doesn't support .wmv
I think it would be better to move configuration to the user side or pick from a dropdown instead of auto-configurations, which would allow for AMF support
I would say okay if there are robust presets. Selecting hardware codec options is a really niche subject that most users are not going to be familiar with and if there a chance they could break playback by selecting the wrong thing then it should not be that open
Describe the bug Stash appears to call on CUDA for hardware-level decoding. CUDA is a library specific to NVidia GPUs, called in the FFMPeg init https://github.com/stashapp/stash/blob/911da8726415a728f5c8fa8455ddca9259fa772e/pkg/ffmpeg/codec_hardware.go#L120and seemingly connected to support for some VP9 and h264 codecs.
I haven't been able to test whether it breaks vp9 playback as i don't seem to have vp9 files in my library but thought it was worth mentioning.
There are apparently multiple options when it comes to FFMpeg hardware encoding, as detailed here https://trac.ffmpeg.org/wiki/HWAccelIntro and NVENC(of which CUDA is a part) is very limited in its compatibility relative to other options, only being compatible with Linux and Windows with NVidia GPUs.
To Reproduce Steps to reproduce the behavior:
The following errors appear:
Expected behavior Global compatibility
Screenshots If applicable, add screenshots to help explain your problem please ensure that your screenshots are SFW or at least appropriately censored.
Stash Version: (from Settings -> About):
Desktop (please complete the following information):
Additional context