1.安装ffmpeg(版本号最低4.0.0)
- 在ffmpeg官网上找到Linux Static Build(里面包含了所有依赖,因此不用额外安装其他依赖),如:
wget https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz
- 解压此文件
tar xvf ffmpeg-git-amd64-static.tar.xz
- 将文件夹内的ffmpeg、ffprobe拷贝到环境变量(通常为
/usr/bin
)
cd ffmpeg-git-20220910-amd64-static
cp ffmpeg /ur/bin/
cp ffprobe /usr/bin/
2.安装Jellfin
- 在Jellyfin官网找到CentOS RPM包,并下载以下三项:
wget https://sgp1.mirror.jellyfin.org/releases/server/centos/versions/stable/server/10.8.5/jellyfin-10.8.5-1.el7.x86_64.rpm
wget https://sgp1.mirror.jellyfin.org/releases/server/centos/versions/stable/server/10.8.5/jellyfin-server-10.8.5-1.el7.x86_64.rpm
wget jellyfin-web-10.8.5-1.el7.noarch.rpm
- 安装RPM包
sudo rpm -ivh *.rpm
3.设置开机自启动
sudo systemctl enable Jellyfin
sudo systemctl start Jellyfin
4.配置ffmpeg路径
在http://ip:8096中配置ffmpeg路径位/usr/bin
问题汇总:
- 日志路径
在网页端的dashboard中可以查看日志路径 - bug
- This client isn't compatible with the media and the server isn't sending a compatible media format
可能的原因是未配置ffmpeg,或者ffmpeg版本过低;详细错误信息可查看日志
- This client isn't compatible with the media and the server isn't sending a compatible media format