项目来源-01

AlexPresso/VideoStation-FFMPEG-Patcher这个脚本文件可以让你的群晖NAS的VideoStation支持以下三种格式组合。

  • [DTS or EAC3 or TrueHD] + [Any non HEVC standard video format]: ✅
  • [no DTS, no EAC3, no TrueHD] + [HEVC]: ✅
  • [DTS or EAC3 or TrueHD] + [HEVC]: ✅ (credits to @nap-liu)

操作方法-01

以下操作方法直接翻译自项目作者的README文件。

  • 检查是否满足所需的依赖项
  • 安装 SynoCommunity ffmpeg
  • 如果您打算播放 HEVC / AAC 视频,请安装高级媒体扩展并使用您在应用程序内的 Synology 帐户进行许可
  • 使用 SSH 连接到您的 NAS(需要管理员用户)(帮助)
  • 使用该命令sudo -i切换到 root 用户
  • 使用以下命令(基本命令)执行修补程序
    • 注意:基本命令默认使用 ffmpeg4,如果您想使用不同的 ffmpeg 版本(即 ffmpeg5 或 ffmpeg6),请检查flags
  • 每次更新VideoStation,Advanced Media Extension和DSM时,您都必须重新运行补丁程序

注意:也可以使用我不是矿神网站提供的第三方套件源安装FFMPEG的各种版本。

现提供一个命令如下所示(采用了FFMPEG6):

curl https://raw.githubusercontent.com/AlexPresso/VideoStation-FFMPEG-Patcher/main/patcher.sh | bash -s -- -v 6

请自行解决Github的访问问题。

项目来源-02

darknebular/Wrapper_VideoStation此项目实现了如下组合:

  • DTS or EAC3 or TrueHD or AAC + Any non standard video format: ✅
  • no DTS, no EAC3, no TrueHD, no AAC + HEVC: ✅
  • DTS or EAC3 or TrueHD or AAC (5.1 or 7.1) + HEVC: ✅
  • DSM 7.X.X: ✅
  • With DS-XXX PLAY Appliances or Low Powered Devices: ✅ (I recommend install the Simplest Wrapper. The Advanced needs better CPU or have a GPU available for FFmpeg binary for HEVC decoding.)
  • DSM 6.2: ⚠️ The installer doesn´t support this version.
  • (In low powered devices you only will have remux of the audio or only be able to play it without transcoding.)

操作方法-02

  • Check that you meet the required dependencies
  • Install SynoCommunity ffmpeg (help)
  • Connect to your NAS using SSH (admin user required) (I recommend maximizing the window to read it better.) (help)
  • Use the command sudo -i to switch to root user
  • Use the following command (Basic command) to execute the patch
  • You’ll have to re-run the patcher everytime you update VideoStation, Advanced Media Extensions and DSM

直接使用Basic command即可,即:

bash -c "$(curl "https://raw.githubusercontent.com/darknebular/Wrapper_VideoStation/main/installer.sh")"

可行的操作

目前我自己试下来,能用的是第二种

参考链接