I’ve been fighting this for awhile as the mkvtoolnix package doesn’t have the correct dependencies when you install it. Well, after doing a bit more digging I’ve found the answer to get mkvmerge to work!
Packages required:
- mkvtoolnix
- bzip2
- boost-filesystem
- boost-system
Then, you need to set an environment variable of LANG=C. This can be done from the command line.
Tada, works!
http://forum.synology.com/enu/viewtopic.php?f=40&t=36845&start=15
*UPDATE – Jan 1 2016*
In addition to the LANG=C environment variable being set, I’ve also had to add in LC_ALL=C. For me, I run a script that calls mkvmerge, so I just set both of these in the script.
Comments
8 responses to “mkvtoolnix on Synology”
can u explain how to get it on syno server in easy way (step-by-step), coz when i follow link i see hard to explain stuff like: http://stackoverflow.com/questions/1922713/valid-locale-names
1. Enable SSH – http://forum.synology.com/wiki/index.php/Enabling_the_Command_Line_Interface
2. Install ipkg – http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server%2C_bootstrap%2C_ipkg_etc#Installing_compiled.2Fbinary_programs_using_ipkg
3. Run the following:
ipkg install mkvtoolnix bzip2 boost-filesystem boost-system
4. Create a script to do whatever you want with mkvtools and make sure that script has “LANG=C” run prior to any mkvtools, or type in “LANG=C” in the SSH session. I don’t have it set as a system wide environment variable, so if you want that you’ll have to find that out on your own.
The way that I’m doing it is that I have a script that runs any of my mkv stuff. Prior to calling any of the MKV tools, just have a line that is “LANG=C” within the script.
If you are doing something from the command line, just type that in and hit return and the variable will be valid for that SSH session.
Where i can find that script? What version of MKVtool i must install – Debian? How to install mkvtool ? just type kind of installpkg %pkglink% in shell?
i just cant see the full way how to get mkvtool on synology, can you please explain this?
Is there a way to upgrade to a newer version of mkvtoolnix?
btw now using v 4.2.0-1
Frank, how did you go about upgrading the version? Last I looked into it, it required me to compile a new version; a step to far for something that already works.
I didn’t get it working. I am not that good in compiling .
Hopefully someone will help us.