2 unstable releases

0.2.0 Dec 6, 2021
0.1.0 Jul 25, 2020

#327 in Video

MIT license

17KB
418 lines

Torn

A minimalist DVD/Bru-ray ripper. Still very much a WIP.

Heavily inspired by ARM, but with the goal to run entirely in user space (and also within docker but this is currently untested).

Features

  • Detects insertion of disc using udev
  • Determines disc type
    • If (Blu-Ray or DVD)
      • Rip using MakeMKV
      • Eject disc and queue up Handbrake transcoding job when done.
      • Transcoding jobs are asynchronously batched from ripping
  • Headless, designed to be run from a server
  • Can rip from multiple-optical drives in parallel (just need to add additional drives to config file)
  • Will enqueue transcoding jobs for previously ripped files in case of failure.

Requirements:

  • makemkvcon
  • HandBrakeCLI

If you get errors related to not being able to find disc drive, you may need run sudo modprobe sg (this works for me).

Usage:

cargo install torn

torn rip

By default will output into current working directory but can be configured by placing a config.toml file. See config/default.toml for usage.

Dependencies

~7–17MB
~222K SLoC