由于最新的VideoStation套件中的ffmpeg和社区的ffmpeg套件编译都有问题。
进入群辉web管理→套件中心→设置→套件来源→新增→在位置栏粘贴以下网址 http://packages.synocommunity.com 在社区ffmpeg套件
SSH进群晖 依次执行以下命令 完成后即可dts解码
sudo -i //再次输入用户密码
Code language: JavaScript (javascript)
cd /var/packages/VideoStation/target/bin
mv ffmpeg ffmpeg.orig
mv ffprobe ffprobe.orig
mv vainfo vainfo.orig
cp -a /var/packages/ffmpeg/target/bin/ffmpeg /var/packages/VideoStation/target/bin/
cp -a /var/packages/ffmpeg/target/bin/ffprobe /var/packages/VideoStation/target/bin/
cp -a /var/packages/ffmpeg/target/bin/vainfo /var/packages/VideoStation/target/bin/
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
chown VideoStation:VideoStation /var/packages/VideoStation/target/bin/ffprobe
chown VideoStation:VideoStation /var/packages/VideoStation/target/bin/vainfo
cp -an /var/packages/VideoStation/target/lib/libsynovte.so /var/packages/VideoStation/target/lib/libsynovte.so.orig
# Patch libsynovte.so to authorize 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
群辉 启动 /var/packages/CodecPack/target/bin/ffmpeg33 来转换视频,所以启动这个命令:
cd 返回
mv /var/packages/CodecPack/target/bin/ffmpeg33 /var/packages/CodecPack/target/bin/ffmpeg33.orig
cp /var/packages/VideoStation/target/bin/ffmpeg /var/packages/CodecPack/target/bin/ffmpeg33
重启VideoStation (Stop/Start in "Package Center")