How to: Enable GPU on Synology

Hi from a Newbie,

If you run Stash in a Docker running on a Synology NAS, here is the setting to enable the GPU:

In Stash Setttings:

FFmpeg Executable Path

/usr/bin/ffmpeg

FFprobe Executable Path

/usr/bin/ffprobe

FFmpeg Transcode Input Args

-hwaccel

vaapi

FFmpeg Transcode Output Args

-vf

format=nv12,hwupload

-c:v

h264_vaapi

-qp

23

Parallel Scan/Generation

Number of parallel task for scan/generation

4

Official stashapp Docker image doesn’t support hardware acceleration (yet).

Check out the community images that do Docker - Stash-Docs.