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
Alex 7fd0b43d2c
Safe file download (#79)
* Safe file download

* Typo
2 years ago
.github/ISSUE_TEMPLATE Gstreamer wrapper (#33) 2 years ago
libs Gstreamer wrapper (#33) 2 years ago
plugins Gstreamer wrapper (#33) 2 years ago
wrappers Remove gstreamer limitation to Armv8 CPUs (#75) 2 years ago
.gitignore Improvements and Fix wrapping procedure on non ARMv8 (#10) 4 years ago
README.md Change base_repo_url to raw.githubusercontent.com (#78) 2 years ago
banner.png Add files via upload 4 years ago
motd.txt Remove gstreamer limitation to Armv8 CPUs (#75) 2 years ago
patcher.sh Safe file download (#79) 2 years ago

README.md

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, ffmpeg 5.x.x or ffmpeg 6.x.x (help)

Supported 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]: (credits to @nap-liu)

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
    • Note : Basic command uses ffmpeg4 by default, if you want to use a different ffmpeg version (i.e. ffmpeg5 or ffmpeg6), please check the command flags.
  • 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://raw.githubusercontent.com
-v No FFMpeg version flag: allows you to choose desired ffmpeg version ; example -v 5 4