1.套件中心更新最新VideoStation套件
2.安装最新第三方ffmpeg套件(套件源http://packages.synocommunity.com)
(手动下载套件 https://synocommunity.com/package/ffmpeg 3617套件在文章底下 )
3.将ffmpeg套件的ffmpeg新版程序替换VideoStation套件中的对应旧版程序
(以下命令实际上可用以脚本方式执行, 脚本在文章底部, 执行方式是计划任务)
#!/bin/bash
cd /var/packages/VideoStation/target/bin
mv ffmpeg ffmpeg.orig
mv ffprobe ffprobe.orig
cp /var/packages/ffmpeg/target/bin/ffmpeg /var/packages/VideoStation/target/bin/
cp /var/packages/ffmpeg/target/bin/ffprobe /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
cp -an /var/packages/VideoStation/target/lib/libsynovte.so /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
执行完成 视频就能看了 已经支持DTS AC3了
请登录后查看评论内容