请选择 进入手机版 | 继续访问电脑版
 找回密码
 立即注册
群晖Video Station播放部分电影的时候提示“不支持当前所选音频的文件格式,因此无法播放视频。请尝试其它音轨,确定其是否支持” 。
电影文件音频采用AAC、AC3、MP3等编码器的Video Station可以正常播放,而使用DTS、EAC3、TrueHD编码则是需要交钱授权才能使用的,所以会出现上面的提醒。

方法一:安装DTS EAC3 TrueHD补丁
支持DSM 6.2.2-24922 Update 4、Video Station 2.4.6-1594及以上版本。通过SSH连接群晖,输入sudo -i ,回车切换到root用户。
复制下面代码,按回车。
curl https://raw.githubusercontent.com/AlexPresso/VideoStation-FFMPEG-Patcher/main/patcher.sh | bash
停止再启用Video Station套件后, 就可以播放DTS EAC3 TrueHD音频的视频了。

2 个回复

倒序浏览
方法二:安装支持DTS EAC3 TrueHD的ffmpeg
通过第三方套件来源 http://packages.synocommunity.com/ 下载安装ffmpeg
1.jpg
通过SSH连接群晖,输入sudo -i ,回车切换到root用户。

首先备份 VideoStation's ffmpeg,复制下面代码,按回车。
mv -n /var/packages/VideoStation/target/bin/ffmpeg /var/packages/VideoStation/target/bin/ffmpeg.orig


下载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.orig
chown VideoStation:VideoStation /var/packages/VideoStation/target/lib/libsynovte.so.orig


为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

停止再启用Video Station后, 就可以播放DTS EAC3 TrueHD音频的视频了。

回复 使用道具 举报
DSM 7.0的设置方法

首先按照方法二安装ffmpeg、advanced media extensions、video station套件。
通过SSH连接群晖,输入sudo -i ,回车切换到root用户。
输入下面代码后回车:
  1. mv -n /var/packages/VideoStation/target/bin/ffmpeg /var/packages/VideoStation/target/bin/ffmpeg.orig && 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 && 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 && cp /var/packages/CodecPack/target/bin/ffmpeg41 /var/packages/CodecPack/target/bin/ffmpeg41.bak && cp /var/packages/VideoStation/target/bin/ffmpeg /var/packages/CodecPack/target/bin/ffmpeg41
复制代码


回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册