Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mgalgs/rafty
Ripper and Friggin' Transcoder Y'all
https://github.com/mgalgs/rafty
Last synced: 5 days 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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-22T20:47:23.000Z (almost 9 years ago)
- Last Synced: 2025-01-20T23:03:11.590Z (13 days ago)
- Language: Go
- Homepage: https://git.io/vgPXU
- Size: 30.3 KB
- Stars: 3
- Watchers: 4
- 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 installYou 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.serviceYou'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 --reloadAnd "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!