Merlin is a video encoder that automatically monitors for new video files and begins converting them via the HandBrakeCLI
Currently this project only supports Linux as it uses the inotify API for file system monitoring
-
Pull latest release or clone repo
git clone https://github.com/attron/merlin.git
wget https://github.com/ATTron/merlin/releases/download/1.x.x/merlin-linux.tar.gz
-
Install HandBrakeCLI
-
Install and setup default configuration
sudo make install
You can find a generated config.json in /etc/merlin/
The config.json file takes the following arguments:
WatchDir <- The directory for Merlin to watch
OutputDir <- Directory that Merlin will store output files
Encoder <- The chosen encoder format (run HandBrakeCLI --help to see list of available encoder formats)
Preset <- The HandBrakeCLI presets (run HandBrakeCLI -z to see available video presets)
Format <- The output format for the encoded files (av_mp4, av_mkv, av_webm)
make start
In order to accurately test the functionality of merlin you will need to run it on a LINUX machine
make development
Contributions welcome. If interested,fork this repo and send submit a PR.
MIT License, see LICENSE