gioia://news
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
gun/linux@latte.isnot.coffee to Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.comEnglish ·
edit-2
2 years ago

How to rip a dvd (probably also works with cds, etc) on gnu/linux (probably also works on other *nix systems such as macos and openbsd)

message-square
message-square
28
fedilink
46
message-square

How to rip a dvd (probably also works with cds, etc) on gnu/linux (probably also works on other *nix systems such as macos and openbsd)

gun/linux@latte.isnot.coffee to Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.comEnglish ·
edit-2
2 years ago
message-square
28
fedilink
  1. Plug in the dvd

  2. Run lsblk to see if it got detected

  3. Run dd if=/dev/cdrom of=dvd.dvd status=progress

  4. 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

  • nekomusumeninaritai@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 years ago

    This should work with some caveats.

    1. Tbis probably won’t work on WSL (Linux needs direct access to your hardware).
    2. For DVDs, you need to be sure libdvdcss is installed for this to work correctly
    • You probably already have this on your system if you have successfully watched a dvd in Linux.
    1. You may need to replace /dev/cdrom with the name of the device file corresponding to your drive.
    • See https://wiki.archlinux.org/title/Optical_disc_drive#Learning_the_name_of_your_optical_drive.
    1. This creates an exact copy of the disk, including the unallocated space. You would probably want to follow the guide https://wiki.archlinux.org/title/Optical_disc_drive#Creating_an_ISO_image_from_a_CD,_DVD,_or_BD
    • (@BustedPancake@lemmy.world’s use of mkisofs does the same thing because they copy the files on the disk rather than the whole disk. But you don’t need makemkv. You should be able to use any method of copying the files and Linux should use libdvdcss to decrypt them.).
    “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 has dd truncate the file.

    edit: caveats is note spalled caceats

    edit: file → files on the disk

    • gun/linux@latte.isnot.coffeeOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      2 years ago

      edit: caveats is note spalled caceats

      “not” is not spelled “note” “spelled is” not spelled “spalled”

      • nekomusumeninaritai@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        That was the joke

        • gun/linux@latte.isnot.coffeeOP
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          2 years ago

          sorry

          • nekomusumeninaritai@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 years ago

            Don’t worry. It was a bit ambiguous 👍

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com

piracy@lemmy.dbzer0.com

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !piracy@lemmy.dbzer0.com
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don’t request invites, trade, sell, or self-promote

3. Don’t request or link to specific pirated titles, including DMs

4. Don’t submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):

  • 🪶 Megathread
  • 🪶 FAQ
  • 🪶 ISP Complaints
  • 🪶 Rules
  • 🪶 Glossary

🏴‍☠️ Other communities

FUCK ADOBE!

  • !GenP@lemmy.dbzer0.com

Torrenting/P2P:

  • !seedboxes@lemmy.dbzer0.com
  • !trackers@lemmy.dbzer0.com
  • !qbittorrent@lemmy.dbzer0.com
  • !libretorrent@lemmy.dbzer0.com
  • !soulseek@lemmy.dbzer0.com

Gaming:

  • !steamdeckpirates@lemmy.dbzer0.com
  • !newyuzupiracy@lemmy.dbzer0.com
  • !switchpirates@lemmy.dbzer0.com
  • !3dspiracy@lemmy.dbzer0.com
  • !retropirates@lemmy.dbzer0.com

💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 209 users / day
  • 1.28K users / week
  • 3.89K users / month
  • 11.6K users / 6 months
  • 1 local subscriber
  • 62.3K subscribers
  • 3.9K Posts
  • 94.8K Comments
  • Modlog
  • mods:
  • db0@lemmy.dbzer0.com
  • sunbrothersco@lemmy.dbzer0.com
  • Dataprolet@lemmy.dbzer0.com
  • Unruffled [they/them]@lemmy.dbzer0.com
  • RandomLegend [He/Him]@lemmy.dbzer0.com
  • Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com
  • CosmicTurtle0@lemmy.dbzer0.com
  • tenchiken@lemmy.dbzer0.com
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org