this post was submitted on 28 Jul 2024
81 points (96.6% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54500 readers
557 users here now

⚓ 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):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

I feel this is kind of a dumb question but I can't find a solution that's working for me:

every now and then I have the need to rip copy protected dvds. In the past I have used Handbrake with libdvdcss. But now there only seems to be flatpak versions of Handbrake for linux and these versions can't access the libdvdcss library.

VLC should be able to do the job but for a specific dvd I wnt to rip now, I produces out-of-sync video/audio tracks and I haven't been able to succeed.

I can't believe ripping dvd's can be that hard. Do I miss something obvious? Any tips are appreciated, aside from just download it - I can't find the respective media anywhere...

all 35 comments
sorted by: hot top controversial new old
[–] [email protected] 46 points 3 months ago (2 children)

I use makemkv. Works every time. Once in a while you have to open the disk “manually” and select the right track but ya, makemkv does it all.

Free if you want to update the beta trial key every few months. After years of use I bought a lifetime license for like $20. Probably the best value I’ve ever gotten.

[–] [email protected] 5 points 3 months ago (1 children)

I just tried using this last night for the first time on some indie movie from the early 2000’s. Surely no type of hard DRM to crack.

But when I finished, the movie was very pixelated.

I converted DVD to ISO file and then the app converted the ISO to mkv file all using default settings. Is that okay or should I have changed some of the settings?

[–] [email protected] 3 points 3 months ago (2 children)

DVD -> ISO -> MKV should be fine, what happens when you play the iso directly in VLC?

[–] [email protected] 4 points 3 months ago (1 children)

Thanks for the reply!

Strangely enough, ISO is fine. Same with the generated mkv file. It seems the issue was when I uploaded to Plex. I didn’t think to check the file that was created, now this is making me wonder where I went wrong.

[–] [email protected] 8 points 3 months ago* (last edited 3 months ago) (1 children)

Ah, it's probably Plex not supporting the video's codec. When you use MakeMKV to generate a video file, it's basically just grabbing the source file directly from the disc / iso. It's fine in modern players but for maximum compatibility you'll have to remux it.

EDIT: Forgot DVDs use a different folder structure than BDs so that guide won't work, you can use this one from thewiki.moe instead (although it's very technical, and the wiki is moreso focused on anime.) You can maybe try using ffmpeg to convert to an mp4, that might just make it work on Plex.

[–] [email protected] 1 points 3 months ago

Where is HEVC crew? 😂

[–] [email protected] 2 points 3 months ago

Strangely, playing was working fine. Just when I try to convert it has sync issues... I'm probably just too simpleminded to make it work that way, but VLC doesn't make it easy to do it right either, I guess...

[–] [email protected] 2 points 3 months ago (1 children)

Does makemkv work well in wine?

[–] [email protected] 13 points 3 months ago (1 children)

There’s a native Linux version! No need for wine :)

[–] [email protected] 2 points 3 months ago (1 children)

True, but you need to build that yourself, and as I am but a smol helpless Linux newblet, I do not have the knowledge to do that.

[–] [email protected] 5 points 3 months ago* (last edited 3 months ago) (3 children)
[–] [email protected] 2 points 3 months ago

Oh great! I came accross MakeMKV before, but couldn't find a recent version. Didn't think of Flathub...

[–] [email protected] 2 points 3 months ago

Right! I use the flatpak myself - works great.

[–] [email protected] 1 points 3 months ago

Oh nice, I didnt know that! Thanks, that'll make it a lot easier!

[–] [email protected] 20 points 3 months ago

Hi, I actually wrote a guide on how to do this on my blog: https://nullish.cat/blog/disc-rip/ The gist of it is just MakeMKV (and ImgBurn if you like ISOs.)

[–] [email protected] 13 points 3 months ago (4 children)

Haven't tried it on Linux recently, but MakeMKV still supports Linux apparently. You have to build it yourself though.

https://forum.makemkv.com/forum/viewtopic.php?f=3&t=224&sid=1674d5df36b036b50d6fabdfb380e72c

[–] [email protected] 4 points 3 months ago (2 children)

Why the hassle? It is available to install as flatpak for any distro: https://flathub.org/apps/com.makemkv.MakeMKV

[–] [email protected] 5 points 3 months ago

That's exactly what I was looking for - I came across MakeMKV before, but couldn't find a recent Linux version - didn't think of Flathub, though. None of the guides that come up if you look for dvd ripping on linux mention it, though... Thanks mate!

[–] [email protected] 3 points 3 months ago

Ah, I missed that since it's an unofficial flatpak so it wasn't listed on their site or forums.

[–] [email protected] 3 points 3 months ago

I've been using this script to install MakeMKV on Ubuntu for years now without issues.

[–] [email protected] 1 points 3 months ago

It works great on Linux for DVDs and regular blurays.

[–] [email protected] 0 points 3 months ago (2 children)

If this is true, it's no wonder Linux sadly doesn't have mainstream appeal. As a current windows user (who is looking to jump out once 11 is forced) I do not see myself doing that.

[–] [email protected] 3 points 3 months ago

They make you compile it because it's non-free software and you're beta testing it in order to use it for free.

It has nothing to do with linux. They do the same for the windows beta.

[–] [email protected] 2 points 3 months ago (1 children)

You don't have to, just get it from flathub as a flatpak.

[–] [email protected] 2 points 3 months ago

Oh that makes more sense That I can do

[–] [email protected] 8 points 3 months ago (1 children)

Is it not in your distro's repo? I am pretty sure I've used handbrake from Arch repo just fine.

[–] [email protected] 5 points 3 months ago (1 children)

Building MakeMKV seems to require a binary, which is unfree. I assume this is the reason it's not in official distribution repos (except Nix and FreeBSD).

It's in the AUR and Nixpkgs, both automate building it from "source" (+binary). MakeMKV is in FreeBSDs official repos, according to pkgs.org.

[–] [email protected] 3 points 3 months ago (1 children)

I was referring to Hanbrake which is mentioned in the post.

[–] [email protected] 3 points 3 months ago

Well, it seems my reading skill deteriorated to a surprising extent. You've even mentioned handbrake in your post...

[–] [email protected] 8 points 3 months ago* (last edited 3 months ago)

You should be able to use FlatSeal to override the Flatpak's sandbox and grant access to VLC's library files, which should include libdvdcss.

[–] [email protected] 5 points 3 months ago
[–] [email protected] 4 points 3 months ago

What happened to libdvdcss? Is that not a thing anymore?

From what I remember - it's been a minute - there were many encryption keys that the publishing houses used to encrypt the DVDs released to the wild and they were packaged up in this codec, when they were found.

[–] [email protected] 4 points 3 months ago

Handbrake will probably still work if you compile it from source, but it seems like upstream isn't paying much attention to libdvdcss support.

The version in Debian's repo still works for me, anyway.

[–] [email protected] 3 points 3 months ago

DVD readers often don't let you read from DVDs until opened by a valid program.... But stay unlocked after that.

What I've done is open in VLC, close immediately, then use dd to copy the contents of the disc to an ISO