How to Install Jellyfin With Hardware Transcoding on Your Synology NAS

How to Install Jellyfin With Hardware Transcoding on Your Synology NAS

Jellyfin is a free Software Media System that puts you in control of managing and streaming your media. It is an alternative to the proprietary Emby and Plex, to provide media from a dedicated server to end-user devices via multiple apps. Jellyfin is the volunteer-built media solution that puts you in control of your media. Stream to any device from your own server, with no strings attached. There are no premium licenses or features, and no hidden agendas; just a team who wants to build something better and work together to achieve it. Hardware transcoding makes media streaming from your NAS faster and more efficient. In this step by step guide I will show you how to install Jellyfin with Hardware Transcoding on your Synology NAS using Docker & Portainer.

💡Note: This guide works perfectly with the latest Jellyfin HT 10.10.1 release.

💡Note: Check out my new guide on how to Install Jellyfin HT on Your UGREEN NAS.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.

  • STEP 3

Use the link below to check if your Synology NAS model supports Hardware Transcoding. If you don’t find your model in the list below, then it means your NAS does not support Hardware Transcoding. In this case, you can Install Jellyfin on your Synology NAS without Hardware Transcoding.

🚀 CHECK IF YOUR NAS SUPPORTS HARDWARE TRANSCODING

  • STEP 4

Make sure you have a synology.me Wildcard Certificate. Follow my guide to get a Wildcard Certificate. If you already have a synology.me Wildcard certificate, skip this STEP.

  • STEP 5

Go to Control Panel / Login Portal / Advanced Tab / click Reverse Proxy. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 1

  • STEP 6

Now click the “Create” button. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 2

  • STEP 7

After you click the Create button, the window below will open. Follow the instructions in the image below.

On the General area, set the Reverse Proxy Name description: type in Jellyfin HT. After that, add the following instructions:

Source:
Protocol: HTTPS
Hostname: jellyfinht.yourname.synology.me
Port: 443

Check Enable HSTS

Destination:
Protocol: HTTP
Hostname: localhost
Port: 8096

Jellyfin Hardware Transcoding Synology NAS Set up 3

  • STEP 8

On the Reverse Proxy Rules click the Custom Header tab. Click Create and then, from the drop-down menu, click WebSocket. After you click on WebSocket, two Header Names and two Values will be automatically added. Click Save. Follow the instructions in the image below.

Synology Proxy WebSocket

  • STEP 9

Go to Control Panel / Network / Connectivity tab/ Check Enable HTTP/2 then click Apply. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 4

  • STEP 10

Go to Control Panel / Security / Advanced tab/ Check Enable HTTP Compression then click Apply. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 5

  • STEP 11

Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it jellyfinht. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Jellyfin Hardware Transcoding Synology NAS Set up 6

  • STEP 12

Now create three new folders inside the jellyfinht folder that you created at STEP 11 and name them cache, config and logs. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Jellyfin Hardware Transcoding Synology NAS Set up 7

  • STEP 13

Log into Portainer using your username and password. On the left sidebar in Portainer, click on Stacks then + Add stack. Follow the instructions in the image below.

1 Synology Portainer Add Stack

  • STEP 14

In the Name field type in jellyfinht. Follow the instructions in the image below.

Note: Copy Paste the code below in the Portainer Stacks Web editor.

services:
  jellyfin:
    image: jellyfin/jellyfin:latest
    container_name: Jellyfin-HT
    environment:
      TZ: Europe/Bucharest
      user: 1026:100
    volumes:
      - /volume1/docker/jellyfinht/config:/config:rw
      - /volume1/docker/jellyfinht/cache:/cache:rw
      - /volume1/docker/jellyfinht/logs:/logs:rw
      - /volume1/movies:/media:rw
      - /volume1/music:/music:rw
    devices:
      - /dev/dri/renderD128:/dev/dri/renderD128
      - /dev/dri/card0:/dev/dri/card0
    restart: on-failure:5
    network_mode: host

Note: Before you paste the code above in the Web editor area below, change the value for TZ. (Select your current Time Zone from this list.)
Note: Before you paste the code above in the Web editor area below, change the value numbers for user with your own UID and GID values. (Follow my step by step guide on how to do this.) 1026 is my personal UID value and 100 is my personal GID value. You have to type in your own values.
Note: Before you paste the code above in the Web editor area below, change the movies and music path folders with your own movies and music path folders. For example: my movies folder, where my media is, is in /volume1/movies and my music folder, where my music is, is located in /volume1/music

Jellyfin Hardware Transcoding Synology NAS Set up 8 new 2025

  • STEP 15

Scroll down on the page until you see a button named Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.

Jellyfin Hardware Transcoding Synology NAS Set up 9 new 2025

  • STEP 16

If everything goes right, you will see the following message at the top right of your screen: “Success Stack successfully deployed“.

Jellyfin Hardware Transcoding Synology NAS Set up 10

  • STEP 17

Go back to STEP 1 or you will deal with karma 🙂.

  • STEP 18

Now open your browser and type in your HTTPS/SSL certificate like this https://jellyfinht.yourname.synology.me that you have previously created at STEP 6. In my case it’s https://jellyfinht.mariusdocker1.synology.me If everything goes right, you will see the Jellyfin Setup page. Select your display language then click Next. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 11

  • STEP 19

Type in your own Username and Password then click Next. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 12

  • STEP 20

Click Add Media Library to add your first library. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 13

  • STEP 21

Select Movies as Content type, then click Folders +. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 14

  • STEP 22

Type in /media then click OK. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 15

  • STEP 23

Scroll down the page until you find the OK button. Click on it. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 16

  • STEP 24

Now add the music folder if you have one or click Next if you don’t have one. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 17

  • STEP 25

Choose the metadata Language and Country then click Next. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 18

  • STEP 26

Check Allow remote connections to this server then click Next. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 19

  • STEP 27

Click Finish. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 20

  • STEP 28

Sign in using your own Username and Password that you have previously created at STEP 19 then click Sign In. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 21

  • STEP 29

On the top left of the page click on the 3 horizontal lines. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 22

  • STEP 30

Click Dashboard. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 23

  • STEP 31

On the left sidebar click Playback. From the dropdown menu select Intel QuickSync (QSV). Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 24

  • STEP 32

Check the following options:

  • H264
  • HEVC
  • MPEG2
  • VC1
  • VP8
  • VP9
  • HEVC 10bit
  • VP9 10bit
  • Prefer OS native DXVA or VA-API hardware decoders
  • Enable hardware encoding
  • Allow encoding in HEVC format
  • Enable VPP Tone mapping

Jellyfin Hardware Transcoding Synology NAS Set up 25

  • STEP 33

Scroll down the page until you find the Save button. Click on it. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 26

  • STEP 34

Click Got it. Follow the instructions in the image below.

Jellyfin Hardware Transcoding Synology NAS Set up 27

Enjoy Jellyfin with Hardware Transcoding!

Note: Can I run Docker on my Synology NAS? See the supported models.
Note: Find out how to update the Jellyfin Hardware Transcoding container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: Instead of the synology.me DDNS you can also use your own domain name.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.

This post was updated on Friday / November 8th, 2024 at 1:22 PM