1、先把VideoStation卸载,再重新安装下,最新版,保留数据库就行。
2、然后到https://synocommunity.com/package/ffmpeg下载适合自己机型的ffmpeg,我的机器是蜗牛星际A款,黑群晖是Ds3617xs,cpu是J1900,页面内搜索broadwell,最新版的是6.1版的,下载后到群晖手动安装。
3、SSH连接到群晖,使用命令sudo -i切换到root用户,
复制/粘贴以下命令:
安装(用于x64,x86)
(1)先备份
mv -n /var/packages/VideoStation/target/bin/ffmpeg /var/packages/VideoStation/target/bin/ffmpeg.orig
(2)下载脚本
wget -O - https://gist.githubusercontent.com/BenjaminPoncet/bbef9edc1d0800528813e75c1669e57e/raw/ffmpeg-wrapper > /var/packages/VideoStation/target/bin/ffmpeg
(3)权限
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
(4)修改文件
cp -n /var/packages/VideoStation/target/lib/libsynovte.so /var/packages/VideoStation/target/lib/libsynovte.so.orig
chown VideoStation:VideoStation /var/packages/VideoStation/target/lib/libsynovte.so.orig
sed -i -e 's/eac3/3cae/' -e 's/dts/std/' -e 's/truehd/dheurt/' /var/packages/VideoStation/target/lib/libsynovte.so
这就应该可以了,如果不行就reboot重启下群晖。
后期需要更新脚本运行下面代码
wget -O - https://gist.githubusercontent.com/BenjaminPoncet/bbef9edc1d0800528813e75c1669e57e/raw/ffmpeg-wrapper > /var/packages/VideoStation/target/bin/ffmpeg
卸载,运行下面代码,或者卸载VideoStation重新安装就可以了
mv -f /var/packages/VideoStation/target/bin/ffmpeg.orig /var/packages/VideoStation/target/bin/ffmpeg
mv -f /var/packages/VideoStation/target/lib/libsynovte.so.orig /var/packages/VideoStation/target/lib/libsynovte.so
转载请注明:八度生活 » 群晖VideoStation支持DTS、EAC3、TrueHD教程 不需要降级 安装ffmpeg脚本