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…

  • Kongar@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    50
    arrow-down
    1
    ·
    3 months ago

    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.

    • NoneYa@lemm.ee
      link
      fedilink
      English
      arrow-up
      6
      ·
      3 months ago

      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?

        • NoneYa@lemm.ee
          link
          fedilink
          English
          arrow-up
          4
          ·
          3 months ago

          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.

          • nullishcat@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            8
            ·
            edit-2
            3 months ago

            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.

        • Ryan@discuss.tchncs.deOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          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…

    • Chewy@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 months ago

      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.

  • m-p{3}@lemmy.ca
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    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.

  • f00f/eris@startrek.website
    link
    fedilink
    English
    arrow-up
    5
    ·
    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.

  • deadcatbounce@reddthat.com
    link
    fedilink
    English
    arrow-up
    4
    ·
    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.

  • Thembo McBembo@beehaw.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    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