{"id":13494253,"url":"https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher","last_synced_at":"2025-03-28T13:33:02.818Z","repository":{"id":37434942,"uuid":"357143916","full_name":"AlexPresso/VideoStation-FFMPEG-Patcher","owner":"AlexPresso","description":"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)","archived":false,"fork":false,"pushed_at":"2024-06-30T13:26:52.000Z","size":16978,"stargazers_count":987,"open_issues_count":2,"forks_count":97,"subscribers_count":25,"default_branch":"main","last_synced_at":"2024-08-01T19:49:24.978Z","etag":null,"topics":["aac","advance-media-extension","advanced-media-extensions","ame","dsm7","dts","eac3","ffmpeg","ffmpeg-wrapper","gstreamer","gstreamer-plugins","gstreamer-vaapi","synology","synology-videostation","truehd","video","videostation","videostation-ffmpeg","wrapper"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlexPresso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-12T10:03:13.000Z","updated_at":"2024-08-01T19:49:24.979Z","dependencies_parsed_at":"2023-10-16T08:22:43.084Z","dependency_job_id":"8048942e-e69c-4e0d-9a25-31af9933ce85","html_url":"https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexPresso%2FVideoStation-FFMPEG-Patcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexPresso%2FVideoStation-FFMPEG-Patcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexPresso%2FVideoStation-FFMPEG-Patcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexPresso%2FVideoStation-FFMPEG-Patcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexPresso","download_url":"https://codeload.github.com/AlexPresso/VideoStation-FFMPEG-Patcher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222382544,"owners_count":16975383,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aac","advance-media-extension","advanced-media-extensions","ame","dsm7","dts","eac3","ffmpeg","ffmpeg-wrapper","gstreamer","gstreamer-plugins","gstreamer-vaapi","synology","synology-videostation","truehd","video","videostation","videostation-ffmpeg","wrapper"],"created_at":"2024-07-31T19:01:23.208Z","updated_at":"2024-10-31T08:32:14.179Z","avatar_url":"https://github.com/AlexPresso.png","language":"Shell","funding_links":[],"categories":["Shell","HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# VideoStation-FFMPEG-Patcher\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher/blob/main/banner.png?raw=true\" height=200px alt=\"Banner\"\u003e\n\u003c/p\u003e\n\nThis patcher is designed to continue the work of [Benjamin Poncet](https://github.com/BenjaminPoncet), to enable **DTS**, **EAC3** and **TrueHD** support to Synology VideoStation, by replacing the original ffmpeg and gstreamer files by a wrapper using SynoCommunity packages.\n\nHuge thanks to [Benjamin Poncet](https://github.com/BenjaminPoncet), [Vincent Fortier](https://github.com/th0ma7), [SynoCommunity](https://github.com/SynoCommunity) and all contributors.\n\n### Also want to patch MediaServer ? [there you go](https://github.com/AlexPresso/mediaserver-ffmpeg-patcher)\n\n## Dependencies\n- DSM 6.2.2-24922 Update 4 (and above)\n- Video Station 2.4.6-1594 (and above)\n- SynoCommunity ffmpeg 4.x.x, ffmpeg 5.x.x, ffmpeg 6.x.x or ffmpeg 7.x.x ([help](https://synocommunity.com/#easy-install))\n\n## Supported scenarios\n- **[DTS or EAC3 or TrueHD] + [Any non HEVC standard video format]**: ✅\n- **[no DTS, no EAC3, no TrueHD] + [HEVC]**: ✅\n- **[DTS or EAC3 or TrueHD] + [HEVC]**: ✅ (credits to @nap-liu)\n\n## Instructions\n- Check that you meet the required [dependencies](https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher#dependencies)\n- Install SynoCommunity ffmpeg ([help](https://synocommunity.com/#easy-install))\n- If you plan to play HEVC / AAC videos, install Advanced Media Extensions and license it using your Synology account inside the app\n- Connect to your NAS using SSH (admin user required) ([help](https://www.synology.com/en-global/knowledgebase/DSM/tutorial/General_Setup/How_to_login_to_DSM_with_root_permission_via_SSH_Telnet))\n- Use the command `sudo -i` to switch to root user\n- Use the [following](https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher#usage) command (Basic command) to execute the patch\n  - Note : Basic command uses **ffmpeg4** by default, if you want to use a different ffmpeg version (i.e. **ffmpeg5**, **ffmpeg6** or **ffmpeg7**), please check the command [flags](https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher#usage).\n- You'll have to re-run the patcher everytime you update VideoStation, Advanced Media Extensions and DSM\n\n## Update procedure\nTo update the wrapper, just unpatch and repatch using the following commands:\n- Unpatch: `curl https://raw.githubusercontent.com/AlexPresso/VideoStation-FFMPEG-Patcher/main/patcher.sh | bash -s -- -a unpatch`\n- Patch: `curl https://raw.githubusercontent.com/AlexPresso/VideoStation-FFMPEG-Patcher/main/patcher.sh | bash`\n\n## Usage\nBasic command:  \n`curl https://raw.githubusercontent.com/AlexPresso/VideoStation-FFMPEG-Patcher/main/patcher.sh | bash`   \nWith options:  \n`curl https://raw.githubusercontent.com/AlexPresso/VideoStation-FFMPEG-Patcher/main/patcher.sh | bash -s -- \u003cflags\u003e`\n\n| Flags | Required | Description                                                                               | Default                           |\n|-------|----------|-------------------------------------------------------------------------------------------|-----------------------------------|\n| -a    | No       | Action flag: choose between `patch` or `unpatch` ; example: `-a patch`                    | patch                             |\n| -b    | No       | Branch flag: allows you to choose the wrapper branch to use ; example `-b main`           | main                              |                                                  \n| -p    | No       | Proxy flag: allows you to use a proxy to connect to github ; example `-p http://my-proxy` | https://raw.githubusercontent.com |\n| -v    | No       | FFMpeg version flag: allows you to choose desired ffmpeg version ; example `-v 5`         | `4`                               |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlexPresso%2FVideoStation-FFMPEG-Patcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlexPresso%2FVideoStation-FFMPEG-Patcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlexPresso%2FVideoStation-FFMPEG-Patcher/lists"}