按照JelleyFin官方的安装说明,JellyFin安装说明选择Debin的说明,有以下几点需要注意,否则直接按照官方说明是安装不成功的
1.增加源

apt install apt-transport-https
wget -O - https://repo.jellyfin.org/debian/jellyfin_team.gpg.key | apt-key add -

第3步修改源时/etc/apt/sources.list.d/jellyfin.list,会因为sudo找不到报错,将

echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/debian $( lsb_release -c -s ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list

修改为

echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/debian $( lsb_release -c -s ) main" | tee /etc/apt/sources.list.d/jellyfin.list

执行命令后会提示找不到lsb_release,如下

root@pve:~# echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/debian $( lsb_release -c -s ) main" | tee /etc/apt/sources.list.d/jellyfin.list
-bash: lsb_release: command not found
deb [arch=amd64] https://repo.jellyfin.org/debian  main

手动修改.d/jellyfin.list,添加buster,修改后的jellyfin.list如下

deb [arch=amd64] https://repo.jellyfin.org/debian buster main

2.执行

apt update

3.安装JellyFin

apt install jellyfin

可能会报错,找不到依赖包等,按照提示执行

apt --fix-broken install

然后再重新安装就可以安装成功了

apt install jellyfin

4.查看JellyFin里的视频时,打开硬件转码后播放视频报错,软解正常,查看控制台-日志里 ffmpeg的日志,发现如下错误

ffmpeg: i965_encoder.c:1692: intel_enc_hw_context_init: Assertion `encoder_context->mfc_context' failed.

网上查询后资料很少,有一条提示需要更新Non-free的驱动,修改/etc/apt/sources.list,将

deb http://ftp.debian.org/debian buster main contrib

修改为

deb http://ftp.debian.org/debian buster main non-free

然后安装新驱动,重新运行即可正常硬件转码

apt update
apt install i965-va-driver-shaders

5.按照官方说明,增加ffmepg对硬件加速render的访问权限,否则也无法启动硬解

usermod -aG render jellyfin
systemctl restart jellyfin