/jellyfin-qnap

Jellyfin server packaging for QNAP NAS

Primary LanguageShell

logo Jellyfin for QNAP  

compatibility icon Compatibility arrow

  • See Compatibility list and please add a comment if compatible or not with yours.
  • Releases are created automatically from the latest jellyfin releases and are not field-tested nor official ones from Jellyfin or QNAP.
  • The latest release with my 👍 is deployed on my QNAP and working properly.

hardware icon Installation arrow

  • Download the .qpkg from the Releases
  • On the Qnap QTS > App Center > Settings > Allow installation of applications without a valid digital signature
  • On the Qnap QTS > App Center > Install Manually. then choose the downloaded .qpkg.
  • After installation, on the Jellyfin appearing in the App Center, just wait a bit (~30s) then open it using the Open button. It shall open a working web site.
  • If it is the first time you open, you will have to choose a server (which is the IP of your NAS) and an user (which is one account of your NAS)
  • If you watch jellyfin on your TV (or so) using Jellyfin Android version (or other), your NAS should then be accessible from it. Just add the NAS ip to access it.

hardware icon Enable Video Acceleration in Jellyfin arrow

(中文)

Go to Admin > Dashboard Server > Playback

  • Transcoding > Hardware acceleration : Video Acceleration API (VAAPI)
  • Transcoding > VA API Device: /dev/dri/renderD128

This shall be OK, but maybe not.

Troubleshooting while trancoding

Go to Admin > Dashboard

  • You can find a log of vainfo of your NAS under Advanced > Logs > vainfo-*.log. It will helps you to find which driver or options to enable.

  • A dedicated plugin is now installed by default on the Jellyfin server (Plugins > QNAP.Configuration), you can change the default vaapi driver used while loading a video. (from defaultValue to iHD or i965).

  • Disable some unexpected enabled options Server > Playback > Transcoding:

    • On TS-253A, the option Enable 10-Bit hardware decoding for HEVC shall be disabled

hybriddesk icon HybridDesk Station arrow

To add a shortcut onto the HybridDesk Station, you can use @pdulvp/jellyfin-qnap-hd

updates icon Automatic updates arrow

You can use my alternative store link on the App Center to retrieve automatic updates. See pdulvp.fr/qnap-store

build icon Build arrow

Requirements

How to

  • Launch a Release build of the configuration/Jellyfin.Plugin.QnapConfiguration.sln under Visual Studio. It will create two releases, for net5.0 and net6.0 that will be embedded afterwards.
  • Launch ./make.sh (note that the script will try to push it on this repository. push.sh can be disabled in subscripts fetch-stable.sh and fetch-stable-pre.sh)
  • If there is some 'File not found' while downloading dependencies, just launch a sudo apt-get update on your WSL and relaunch the build
  • The build is verbose and raises some logs on tar operations but shall not ring a bell

Why this qpkg is so large

It is large as it embeds Jellyfin Server, Jellyfin FFMPEG and Jellyfin Web Client and most of their dependencies. Jellyfin and ffmpeg require some dependencies that are not available on most QNAP NAS default installation (latest releases of libc or stuff) so it embeds almost all dependencies in it to be able to be launched. Dependencies and custom installed jellyfin plugin.