Peter Suh Posted September 15 Share #1 Posted September 15 (edited) I will tell you how to install Docker super-simple to activate Intel iGPU opencl transcoding. You only need to have Docker (Container Manager) ready on Synology. I tested DSM version 7.2.2. 1. First, connect via ssh and install ffmpeg dedicated to jellyfin by executing the command below. This is an essential program for Intel iGPU H/W transcoding. sudo -i bash -c "$(curl https://raw.githubusercontent.com/PeterSuh-Q3/tinycore-redpill/main/jelly.sh)" I will write the contents of this script here for reference only. #!bin/sh mkdir -p /docker/jellyfin/config mkdir -p /docker/jellyfin/cache curl -kLO# https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v6.0.1-8/jellyfin-ffmpeg6_6.0.1-8-bookworm_amd64.deb dpkg-deb -x jellyfin-ffmpeg*.deb temp_dir mkdir -p /usr/lib/jellyfin-ffmpeg mv -v temp_dir/usr/lib/jellyfin-ffmpeg/ /usr/lib/ cd /usr/lib/jellyfin-ffmpeg ./ffmpeg ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers built with gcc 14.1.0 (crosstool-NG 1.26.0.93_a87bf7f) 2. Create a project in the container manager. For detailed instructions on creating a project in the container manager, please refer to this KB. https://kb.synology.com/en-id/DSM/help/ContainerManager/docker_project?version=7 You can download the yaml file required for creating a docker project from this link and use it, or you can copy and paste this content. https://github.com/PeterSuh-Q3/tinycore-redpill/blob/main/jellyfin-igpu.yaml The option to activate Intel opencl for transcoding is The value below is automatically added to one of the environment variables. - DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel version: '3.x' services: jellyfin: image: jellyfin/jellyfin:latest container_name: jellyfin-igpu environment: - UID=1026 - GID=100 - TZ=Asia/Seoul - DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel network_mode: 'host' ports: - 8096:8096 volumes: - ./config:/config - ./cache:/cache - /volume1/_DRAMA:/volume1/_DRAMA - /usr/lib/jellyfin-ffmpeg:/ffmpeg devices: - "/dev/dri/card0:/dev/dri/card0" - "/dev/dri/renderD128:/dev/dri/renderD128" privileged: true restart: always When setting the volume, please modify "/volume1/_DRAMA:/volume1/_DRAMA" appropriately to suit your movie shared folder situation. 3. Activate jellyfin dashboard transcoding From the home screen, go to the 3-line settings menu->Dashboard->Playback->Transcoding, and activate all items in VAAPI as shown below. Please do not touch the low power mode as shown in this capture. It will immediately fall into an error and playback will stop from the beginning. 4. For the transcoding test, play a video and in the wheel-shaped settings, When using 1080p resolution as the standard, lower the quality to 720p or 480p, and If transcoding is done well, select the [Playback Data] option in the wheel-shaped settings, and the details will be displayed in the upper left corner of the movie. If you see the word transcoding, check the CPU load of Synology. If you maintain an appropriately low load, it will be successful. Edited September 15 by Peter Suh Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.