How to Install Jellyfin With Hardware Transcoding on Your UGREEN NAS

How to Install Jellyfin With Hardware Transcoding on Your UGREEN 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 UGREEN NAS using Docker & Portainer.

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

  • 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 UGREEN NAS, skip this STEP.

  • STEP 3

Go to File Manager 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 UGREEN NAS Set up 1

  • STEP 4

Now create three new folders inside the jellyfinht folder that you created at STEP 3 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 UGREEN NAS Set up 2

  • STEP 5

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.

UGREEN NAS Portainer Add Stack

  • STEP 6

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.

version: "3.9"
services:
  jellyfin:
    image: jellyfin/jellyfin:latest
    container_name: Jellyfin-HT
    environment:
      TZ: Europe/Bucharest
      user: 999:10
    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.) 999 is my personal UID value and 10 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 the Shared Folder /volume1/movies and my music folder, where my music is, is located in Shared Folder /volume1/music

Jellyfin Hardware Transcoding UGREEN NAS Set up 3

  • STEP 7

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 UGREEN NAS Set up 4

  • STEP 8

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

Jellyfin Hardware Transcoding UGREEN NAS Set up 5

  • STEP 9

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

  • STEP 10

The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type in http://ugreennas-ip-address:8096 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 UGREEN NAS Set up 6 new 2025

  • STEP 11

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

Jellyfin Hardware Transcoding UGREEN NAS Set up 7

  • STEP 12

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

Jellyfin Hardware Transcoding UGREEN NAS Set up 8

  • STEP 13

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

Jellyfin Hardware Transcoding UGREEN NAS Set up 9

  • STEP 14

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

Jellyfin Hardware Transcoding UGREEN NAS Set up 10

  • STEP 15

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

Jellyfin Hardware Transcoding UGREEN NAS Set up 11

  • STEP 16

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 UGREEN NAS Set up 12

  • STEP 17

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

Jellyfin Hardware Transcoding UGREEN NAS Set up 13

  • STEP 18

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

Jellyfin Hardware Transcoding UGREEN NAS Set up 14

  • STEP 19

Click Finish. Follow the instructions in the image below.

Jellyfin Hardware Transcoding UGREEN NAS Set up 15

  • STEP 20

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

Jellyfin Hardware Transcoding UGREEN NAS Set up 16

  • STEP 21

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

Jellyfin Hardware Transcoding UGREEN NAS Set up 17

  • STEP 22

Click Dashboard. Follow the instructions in the image below.

Jellyfin Hardware Transcoding UGREEN NAS Set up 18

  • STEP 23

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

Jellyfin Hardware Transcoding UGREEN NAS Set up 19

  • STEP 24

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 UGREEN NAS Set up 20

  • STEP 25

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

Jellyfin Hardware Transcoding UGREEN NAS Set up 21

  • STEP 26

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

Jellyfin Hardware Transcoding UGREEN NAS Set up 22

Enjoy Jellyfin with Hardware Transcoding on your UGREEN NAS!

This post was updated on Saturday / July 13th, 2024 at 4:39 AM