alililala / VideoStation-FFMPEG-Patcher

Patcher to enable DTS, EAC3 and TrueHD support to Synology VideoStation (DSM 7.0 ready)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VideoStation-FFMPEG-Patcher

Banner

This patcher is designed to continue the work of Benjamin Poncet, to enable DTS, EAC3 and TrueHD support to Synology VideoStation, by replacing the original ffmpeg and gstreamer files by a wrapper using SynoCommunity packages.

Huge thanks to Benjamin Poncet, Vincent Fortier, SynoCommunity and all contributors.

Also want to patch MediaServer ? there you go

Dependencies

  • DSM 6.2.2-24922 Update 4 (and above)
  • Video Station 2.4.6-1594 (and above)
  • SynoCommunity ffmpeg 4.x.x (help) ⚠️ ffmpeg5 and ffmpeg6 cannot be used with VideoStation for now.

Supported / Unsupported scenarios

  • [DTS or EAC3 or TrueHD] + [Any non HEVC standard video format]: ✅
  • [no DTS, no EAC3, no TrueHD] + [HEVC]: ✅
  • [DTS or EAC3 or TrueHD] + [HEVC]: ⚠️ Not working on architectures where Advanced Media Extensions uses GStreamer for audio decoding (Please don't submit any more issue related to this scenario, I'm working on it, see #33)

Instructions

  • Check that you meet the required dependencies
  • Install SynoCommunity ffmpeg (help)
  • If you plan to play HEVC / AAC videos, install Advanced Media Extensions
  • Connect to your NAS using SSH (admin user required) (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

Usage

Basic command:
curl https://raw.githubusercontent.com/AlexPresso/VideoStation-FFMPEG-Patcher/main/patcher.sh | bash
With options:
curl https://raw.githubusercontent.com/AlexPresso/VideoStation-FFMPEG-Patcher/main/patcher.sh | bash -s -- <flags>

Flags Required Description Default
-a No Action flag: choose between patch or unpatch ; example: -a patch patch
-b No Branch flag: allows you to choose the wrapper branch to use ; example -b main main
-p No Proxy flag: allows you to use a proxy to connect to github ; example -p http://my-proxy https://github.com

About

Patcher to enable DTS, EAC3 and TrueHD support to Synology VideoStation (DSM 7.0 ready)


Languages

Language:Shell 100.0%