Skip to content

An automatism for using MakeMKV and Handbrake to backup your owned DVD or Blue-Ray Discs written purely in Rust πŸ¦€

License

Notifications You must be signed in to change notification settings

tobias-kaerst-software/autoripper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

46 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“œ This software is intended to be used for personal backups and educational purposes only. Check your local laws before using this software. For example, in Germany, it is illegal to circumvent DRM, even for personal backups, which is why I only rip discs that I own and do not have DRM of course.

πŸ’‘ However, I do not support either piracy or DRM. Piracy is unethical for people to make copies of movies and music they do not own. However, there is a distinction between piracy and copying for fair use, which publishers often mistakenly group together. What truly frustrates me is DRM. It is a waste of time. I should not have to deal with region codes or use software like MakeMKV to decrypt a movie that I legally purchased! Unfortunately, the existing copy-protection methods fail to stop piracy and only serve to inconvenience legitimate customers. For example, non of my devices can even play the Deadpool movie I bought because of the DRM on this disc.

Ripper

πŸ‘‡ An automatism for using MakeMKV and Handbrake to backup your owned DVD or Blue-Ray Discs written purely in Rust πŸ¦€

Demo

✨ Features

  • πŸ“€ Automated Ripping: Rip your DVDs and Blue-Rays with MakeMKV
  • 🎞 Automated Encoding: Encode your ripped movies or tv shows with Handbrake using different and already provided presets
  • πŸ“Ί Sonarr and Radarr Integration: Automatically uploads your encoded movies or tv shows to your own Sonarr or Radarr instance
  • 🌐 Headless: Designed to be run from a Linux server
  • πŸ“‘ Remote Control: Control the service via a user friendly react web interface
  • πŸš€ Fast: Written in Rust for maximum performance
  • πŸ“¦ Easy to use: Just provide a config file and you are ready to go
  • πŸ“‹ Deployment: Easy deployment to your server using Infrastructure as Code and Docker

πŸ’Ύ Get the executable

Currently we do not provide precompiled binaries. You have to compile the project yourself. This required git and Cargo. You may need to install additional dependencies like libudev-dev and pkg-config on your system (sudo apt-get install libudev-dev pkg-config).

# Create the directory
mkdir ~/ripper-deployment
mkdir ~/ripper-deployment/output
mkdir ~/ripper-deployment/profiles

# Build the rust executable
git clone https://github.com/DevTobias/ripper.git
cd ~/ripper/services/autoripper
cargo build --release
mv -f config.example.json ~/autoripper/config.json
mv -f ../../target/release/ripper ~/autoripper/

# Copy default profiles
cd ~/ripper/
cp -r .profiles/* ~/ripper-deployment/profiles/

# Download the frontend from GitHub into the folder
mkdir -p ~/autoripper/frontend/dist
wget -c https://github.com/tobias-kaerst-software/autoripper/releases/download/v1.0.0/frontend.tar.gz -O - | tar -xz -C ~/autoripper/frontend/dist

# (Optional) Enable the ripper to run as a service
sudo mv ~/ripper/services/autoripper/deployment/autorip.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl start autorip
sudo systemctl enable autorip

Install MakeMKV

sudo apt-get install build-essential pkg-config libc6-dev libssl-dev libexpat1-dev libavcodec-dev libgl1-mesa-dev qtbase5-dev zlib1g-dev

cd ~/downloads
wget -c https://www.makemkv.com/download/makemkv-bin-1.17.7.tar.gz -O - | tar -xz
wget -c https://www.makemkv.com/download/makemkv-oss-1.17.7.tar.gz -O - | tar -xz

cd ~/downloads/makemkv-oss-1.17.7
./configure
make
sudo make install

cd ~/downloads/makemkv-bin-1.17.7
make
sudo make install

rm -rf ~/downloads

Install Handbrake

sudo apt-get install handbrake-cli

βš– License

This project is licensed under the MIT License - see the LICENSE file for more details.

About

An automatism for using MakeMKV and Handbrake to backup your owned DVD or Blue-Ray Discs written purely in Rust πŸ¦€

Topics

Resources

License

Stars

Watchers

Forks