docker安装
docker run -d \
--name jellyfin \
--volume /home/docker/jellyfin/config:/config \
--volume /mnt/akc:/videos \
--device /dev/dri:/dev/dri \
--publish 8096:8096 \
--env UID=0 \
--env GID=0 \
--env GIDLIST=0 \
jellyfin/jellyfin
Jellyfin 后台启用硬件转码功能 [ 硬件加速选择:Video Acceleration API (VA API)(experimental) ,并勾选“启用硬件解码” ]
pve的lxc里安装jellyfin
参考https://jellyfin.org/downloads/
sudo apt install curl gnupg
curl -fsSL https://repo.jellyfin.org/ubuntu/jellyfin_team.gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/jellyfin.gpg
echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/$( awk -F'=' '/^ID=/{ print $NF }' /etc/os-release ) $( awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list
sudo apt update
sudo apt install jellyfin
编辑
nano /etc/systemd/system/jellyfin.service.d/jellyfin.service.conf
修改user为root确保文件访问的最大权限