replace the following in your docker-compose.yml
services:
stash:
- image: stashapp/stash
+ image: nerethos/stash-jellyfin-ffmpeg
+ image: ghcr.io/feederbox826/stash-s6:hwaccel-jf
...Both use jellyfin under the hood
- Make sure you have the NVIDIA Container Toolkit installed
add the following to your docker-compose.yml
services:
stash:
...
runtime: nvidia
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
...add the following to your docker-compose.yml
services:
stash:
...
devices:
- /dev/dri:/dev/driIf you are on Intel 5xxx to 8xxx Add the following
services:
stash:
environment:
...
LIBVA_DRIVER_NAME_JELLYFIN=i965
LIBVA_DRIVER_NAME=i965- Verify your hardware support
- This is under logs and you should see a line similar to
[InitHWSupport] Supported HW codecs: h264_nvenc - Enable hardware acceleration
- Settings -> System -> Transcoding -> FFmpeg hardware encoding
Try streaming an incompatible scene and check your GPU activity with nvidia-smi or nvtop for NVIDIA or vainfo for Intel