Patcher to enable DTS, EAC3 and TrueHD support to Synology VideoStation (from DSM 6.2 to DSM 7.0 and above ; ffmpeg4, 5, 6 ready)
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
AlexPresso 904bd2fea2 Add VideoStation to dependencies and add MediaServer patch in readme 4 years ago
.github/ISSUE_TEMPLATE Update issue templates 4 years ago
.gitignore Improvements and Fix wrapping procedure on non ARMv8 (#10) 5 years ago
README.md Add VideoStation to dependencies and add MediaServer patch in readme 4 years ago
banner.png Add files via upload 6 years ago
ffmpeg-wrapper.sh New ffmpeg wrapper (#44) 4 years ago
motd.txt Redesign patcher 5 years ago
patcher.sh Add VideoStation to dependencies and add MediaServer patch in readme 4 years ago

README.md

VideoStation-FFMPEG-Patcher

Banner

This patcher is designed to simplify the installation steps from this Gist (huge thanks to Benjamin Poncet) and enable DTS, EAC3 and TrueHD support to Synology VideoStation by replacing the ffmpeg library files by a wrapper using SynoCommunity ffmpeg.

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.2.1-23 (and above) (help)

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)
  • 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
-a No Action flag: choose between patch or unpatch ; example: -a patch
-b No Branch flag: allows you to choose the wrapper branch to use ; example -b main