Transcode high quality audio files automatically to mp3, package for Synology DiskStation and related products.
It's a script. You need to ssh into the box and run it by hand. But it installs nicely.
- Uses file hashes to detect if a source file has been processed.
- Can merge multiple source directories; if two source directories contain source files for the same target file, the first one wins.
- Include only specific source files (pattern matching).
- Exclude source files or directories (pattern matching).
- Try to be just a little clever about really preserving metadata during transcoding.
- Output is always
.mp3
in variable bitrate. I'm lazy.
Create a .synology-transcode
file in INI format in the directory you want to
run the script in, or in your user's home directory. Then run
synology-transcode
.
[directories]
sources = /some/path
/some/other/path
target = /target/path
[filters]
includes = *.flac *.wav
excludes = @eaDir
- Separate source paths with newline.
- There is only one target path.
- Separate includes and excludes with spaces (yeah, boo, I know).
- Includes and excludes are optional. Above are the defaults.
- It makes sense to exclude
@eaDir
, so do that.
Find them in the result_spk directory.
The license is in the LICENSE
file. It's probably bad form to name this package synology-*
, but I wasn't
feeling creative. Similarly, the icon is derived from
the ffmpeg project, because, guess what, ffmpeg
is
what this script uses under the hood.
So if you have legal claim to either, drop me a line. I've no interest in infringing, this is just a side project for me. Did I mention I'm lazy?
wget http://sourceforge.net/projects/dsgpl/files/toolkit/pkgscripts.tgz
pkgscripts/EnvDeploy -v 5.0
sudo sudo pkgscripts/PkgCreate.py -x0 -c synology-transcode