https://github.com/attron/merlin
Linux Video Auto Encoder For Handbrake. Drop files into watch directory and Merlin will automatically begin converting them to specified format
https://github.com/attron/merlin
Last synced: about 1 year ago
JSON representation
Linux Video Auto Encoder For Handbrake. Drop files into watch directory and Merlin will automatically begin converting them to specified format
- Host: GitHub
- URL: https://github.com/attron/merlin
- Owner: ATTron
- License: mit
- Created: 2019-07-23T04:59:30.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-25T18:18:35.000Z (over 6 years ago)
- Last Synced: 2024-12-20T09:25:18.620Z (over 1 year ago)
- Language: Go
- Size: 5.65 MB
- Stars: 0
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Merlin [](https://goreportcard.com/report/github.com/attron/merlin)
Merlin is a video encoder that automatically monitors for new video files and begins converting them via the HandBrakeCLI
## Setup
**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](https://handbrake.fr/downloads.php)
* If you are on RHEL, CentOS, or Debian you can use the Makefile if you do not have HandBrakeCLI installed ```make install-handbrake```
* 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)
Args <- Extra arguments passed to HandBrakeCLI
```
* Start merlin
**You may need to run merlin as sudo if you are getting a permission denied error**
```
make start
```
## Building for development
**In order to accurately test the functionality of merlin you will need to run it on a LINUX machine with golang installed**
```
make development
```
## Contributing
[Contributions](https://github.com/attron/merlin/issues?q=is%3Aissue+is%3Aopen) welcome. If interested,fork this repo and submit a PR.
## License
MIT License, see [LICENSE](https://github.com/attron/merlin/blob/master/LICENSE)