I have an QNAP TVS-473e which does support hardware transcoding, but I'm unable to use it with jellyfin, I followed the Enable Video Acceleration in Jellyfin instructions but without success, then I ssh connected to my qnap to debug it:
Output [click here]
```
drive: defaultValue
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so
libva error: dlopen of /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so failed: libxcb-sync.so.1: cannot open shared object file: No such file or directory
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
Trying display: drm
drive: iHD
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so
libva error: dlopen of /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so failed: libxcb-sync.so.1: cannot open shared object file: No such file or directory
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
Trying display: drm
drive: i965
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so
libva error: dlopen of /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so failed: libxcb-sync.so.1: cannot open shared object file: No such file or directory
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
Trying display: drm
```
Hardware transcoding works in other apps
If you have the Cayin Media Player installed, I checked that it is able to successfully use the ffmpeg for transcoding with VAAPI, but requires some dark magic:
I have an QNAP TVS-473e which does support hardware transcoding, but I'm unable to use it with jellyfin, I followed the
Enable Video Acceleration in Jellyfin
instructions but without success, then I ssh connected to my qnap to debug it:Output [click here]
``` drive: defaultValue libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so libva error: dlopen of /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so failed: libxcb-sync.so.1: cannot open shared object file: No such file or directory libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit Trying display: drm drive: iHD libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so libva error: dlopen of /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so failed: libxcb-sync.so.1: cannot open shared object file: No such file or directory libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit Trying display: drm drive: i965 libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so libva error: dlopen of /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so failed: libxcb-sync.so.1: cannot open shared object file: No such file or directory libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit Trying display: drm ```Hardware transcoding works in other apps
If you have the Cayin Media Player installed, I checked that it is able to successfully use the ffmpeg for transcoding with VAAPI, but requires some dark magic:
output: