https://github.com/mgalgs/rafty
Ripper and Friggin' Transcoder Y'all
https://github.com/mgalgs/rafty
Last synced: 3 months ago
JSON representation
Ripper and Friggin' Transcoder Y'all
- Host: GitHub
- URL: https://github.com/mgalgs/rafty
- Owner: mgalgs
- Created: 2015-04-03T04:21:34.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-02-22T20:47:23.000Z (over 10 years ago)
- Last Synced: 2026-03-29T21:47:52.033Z (4 months ago)
- Language: Go
- Homepage: https://git.io/vgPXU
- Size: 30.3 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Rafty is a hacky DVD backup solution with the potential to scale
horizontally. You can read more about the design in
[this blog post](http://mgalgs.github.io/2015/04/02/rafty-dvd-backups-using-systemd-docker-rabbitmq-and-go.html).
# Pre-requisites
`HandBrakeCLI`, `lsdvd`, `mplayer`, `dd`, `rabbitmq`, `ddrescue` (optional)
# Installation
The following steps should roughly get you up and running:
$ cd /path/to/rafty
$ make deps all
$ sudo make install
You also need to edit two configuration files and a systemd service
(updating them with your username, etc):
/etc/conf.d/rafty-dd-one.conf
/etc/conf.d/rafty-handbraked.conf
/etc/systemd/system/rafty-handbraked.service
You'll also need [`rabbitmq`](https://www.rabbitmq.com/) running on
`localhost`.
Now start the daemon and reload your udev rules:
$ sudo systemctl start rafty-handbraked.service
$ sudo udevadm control --reload
And "that's it"! Now the next time you insert a DVD the Rafty Rube
Goldberg machine should kick into action!
# Manual Invocation
If the `udev` rafting isn't working raftily enough for you, you can invoke
the rip+encode process manually with:
$ sudo DEVNAME=/dev/sr0 rafty-dd-one.sh
(adjusting `/dev/sr0` as necessary).
I've found that some discs need to be "primed" by playing them for a few
minutes with `mplayer` before attempting to rip them. You'll need to use
the above command to start the rip process after "priming" the disc in
those cases.
If you have some isos sitting around you can send them to the encode queue
with:
$ rafty-handbrakectl newiso /path/to/movie.iso
Happy Rafting!