|
zorgzola
发表于 2021-3-31 16:22
来自 中国云南大理白族自治州
本帖最后由 zorgzola 于 2021-3-31 16:23 编辑
复制项目里的教程:群晖套件正常安装videostation和ffmpeg。然后进入ssh,root账户。
- # Save VideoStation's ffmpeg
- mv -n /var/packages/VideoStation/target/bin/ffmpeg /var/packages/VideoStation/target/bin/ffmpeg.orig
- # Injecting the script (last revision aka 12)
- wget -O - https://gist.githubusercontent.com/BenjaminPoncet/bbef9edc1d0800528813e75c1669e57e/raw/ffmpeg-wrapper > /var/packages/VideoStation/target/bin/ffmpeg
- # Change ownership and mode of the script
- 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
- # Save 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
- # 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
复制代码 然后重启videostation。
可正常播放DTS
|
|