-
Plug in the dvd
-
Run
lsblk
to see if it got detected -
Run
dd if=/dev/cdrom of=dvd.dvd status=progress
-
You can now play the ripped dvd using mpv:
mpv dvd://0/dvd.dvd
If you need to get rid of digital restrictions management, you can try this guide
This should work with some caveats.
/dev/cdrom
with the name of the device file corresponding to your drive.“deep magic”
Linux trys to treat devices like files. If you ran
xxd /dev/cdrom
, you would see every bit on the disk (not just those of the files, but those in the free space as well) in order from the first to the last (converted to base-16 in what is called a hexdump). Not that you need to see this, but your video player does. The “DRM cracking” is actually a feature of libdvdcss that makes it possible for the system to treat the disk this way.dd
is just a general copying command and if Stack Exchange is to be believed, it isn’t necessarily the best option (https://unix.stackexchange.com/questions/12532/dd-vs-cat-is-dd-still-relevant-these-days). But it probably is necessary for the linked guide to work because it hasdd
truncate the file.edit: caveats is note spalled caceats
edit: file → files on the disk
“not” is not spelled “note” “spelled is” not spelled “spalled”
That was the joke
sorry
Don’t worry. It was a bit ambiguous 👍