解决群晖“不支持当前所选音频的文件”问题 /video station部分格式视频、音轨无法播放问题解决
为了让DS920+的DSM7.1.1 VideoStation支持DTS、EAC3等音轨,我们进行下面的设置
①备份 VideoStation’s ffmpeg
ssh连接群晖之后,使用root账号
mv -n /var/packages/VideoStation/target/bin/ffmpeg /var/packages/VideoStation/target/bin/ffmpeg.org
②下载ffmpeg脚本
wget -O - https://gist.githubusercontent.com/BenjaminPoncet/bbef9edc1d0800528813e75c1669e57e/raw/ffmpeg-wrapper > /var/packages/VideoStation/target/bin/ffmpeg
③设置脚本相应权限
chown root:VideoStation /var/packages/VideoStation/target/bin/ffmpeg
chmod 750 /var/packages/VideoStation/target/bin/ffmpeg
chmod u+s /var/packages/VideoStation/target/bin/ffmpeg
④备份VideoStation’s libsynovte.so
cp -n /var/packages/VideoStation/target/lib/libsynovte.so /var/packages/VideoStation/target/lib/libsynovte.so.org
chown VideoStation:VideoStation /var/packages/VideoStation/target/lib/libsynovte.so.org
⑤为libsynovte.so 添加 DTS, EAC3 and TrueHD支持
sed -i -e ‘s/eac3/3cae/‘ -e ‘s/dts/std/‘ -e ‘s/truehd/dheurt/‘ /var/packages/VideoStation/target/lib/libsynovte.so
⑥备份CodecPack的ffmpeg41
cp /var/packages/CodecPack/target/bin/ffmpeg41 /var/packages/CodecPack/target/bin/ffmpeg41.bak
⑦链接ffmpeg解码模块
cp /var/packages/VideoStation/target/bin/ffmpeg /var/packages/CodecPack/target/bin/ffmpeg41
⑧退出重启VideoStation
sudo synopkg restart VideoStation
这时候群晖的video station已经比较完美了,可以播放mkv、原盘m2ts等格式的视频。个人觉得要比jellyfin用起来要舒服一些。
sudo synopkg restart VideoStation
这时候群晖的video station已经比较完美了,可以播放mkv、原盘m2ts等格式的视频。个人觉得要比jellyfin用起来要舒服一些。