EDIT: Thank you so much everyone! There’s so much help for me here, and I’ll recommend anyone with similar question as me to read the comments

Basically title.

I have the DVDs and I have the hardware to burn them to my PC.

But the file size is too much. What software would be ideal to get the best quality with the lowest file size?

I’m going for file sizes per movie at around 2-3gb max.

  • u/lukmly013 💾 (lemmy.sdf.org)
    link
    English
    1001 year ago

    Perhaps Handbrake.

    But if you do care about the quality, then you should just download those movies in higher quality than DVD. Like this you’re just getting 480p/576p with visible compression artifacts at the same file size.

    • TheMurphyOP
      link
      fedilink
      English
      15
      edit-2
      1 year ago

      Thanks, I’ll try handbreak!

      The problem is the DVDs is in a language I couldn’t find reliably to download. I once had access to a private tracker that had these things, but they got shut down, and I was on a long vacation while they migrated.

      So I missed the window and I haven’t been able to get in since.

      • Turing spider
        link
        fedilink
        English
        21 year ago

        Jellyfin supports external audio tracks (see here). It works pretty well, so you could rip the audio tracks from the DVDs with Handbrake and download higher definition video files

  • m-p{3}
    link
    fedilink
    English
    54
    edit-2
    1 year ago

    Handbrake would be the easiest. For commercial DVDs, you just need to add libdvdcss-2.dll in your Handbrake install directory and it will bypass the copy protection.

    For the container I’d suggest going with MKV. For the video codec you can go with x265 (HEVC) with a CRF/RF of 22, which should give you a good balance between quality and size. For the audio you can copy it as-is.

  • @guitarsarereal@sh.itjust.works
    link
    fedilink
    English
    46
    edit-2
    1 year ago

    Since CRF settings aren’t that useful for hitting a specified filesize, you can use the following equation to calculate the bitrate needed to encode a video of a given runtime at a given file size

    • s = length of video file in seconds
    • t = target size in gigabytes
    • b = target bitrate in kilobit/s
    b = (t*8*10^6)/s
    

    ie, my copy of Serenity is 01:58:55 long, which is 7135 seconds (see https://www.calculateme.com/time/hours-minutes-seconds/to-seconds), I want it to be 2.5gb, my equation is

    b = (2.5*8*10^6)/7135 = 2803 kbit/s
    

    You can use any tool, handbrake, ffmpeg, whatever, any codec, and this equation will tell you the average bitrate needed to hit that file size. You would use “vbr” encoding mode instead of crf. I’d recommend enabling 2-pass for x264, not sure if this would be needed/is available for x265 as I’m a bit of a stick in the mud re: video codecs.

    Couple notes, I’m using SI units (powers of 10 instead of powers of 2) for the conversion, and am converting from bytes to bits as this is a more common unit to represent bitrates. If your software uses different units for the bitrate for some reason, or you prefer representing file sizes using gibibytes/etc then you’ll need to rewrite the equation accordingly

    • TheMurphyOP
      link
      fedilink
      English
      51 year ago

      That’s a very good answer! Exactly what I needed.

      • @Blue_Morpho@lemmy.world
        link
        fedilink
        English
        121 year ago

        Except don’t do that. Hitting an exact target filesize will unnecessarily compromise the quality. You want constant quality or some high motion scenes or high detail scenes (rain or large crowds) will look really bad because the encoder is throwing out quality to hit an exact file size target.

        Do a constant quality encode at say Q19. If the file is too big for you, up that to 22 and try again. When you find a q factor that’s close to the file size you want, use it for everything.

  • @0x4E4F@sh.itjust.works
    link
    fedilink
    English
    14
    edit-2
    1 year ago

    If you don’t know anything about ripping video content, Handbrake is a good place to start. Regarding video codecs and best compression (filesize wise), I’d recommend x265 with HE-AAC (fdk-aac in particular). It will take longer to recode than x264, but it is worth it.

    And 2 to 3GB is a lot more than what I had in mind. With x265, you can downsize it all to 700MB easy and get approximately the same quality as the DVD. If your target size is 2, 3GB, you could recode to x264, no need for x265.

    • Red
      link
      fedilink
      English
      91 year ago

      Size wise if you are already taking the hit for time, you are now better off using AV1 instead of h265. Combine it with 120k OPUS for the best size-quality.

      Assuming your planning for the future as av1 support is mostly software decoding rather than hardware.

  • @ANIMATEK@lemmy.world
    link
    fedilink
    English
    131 year ago

    Since you are asking in c/piracy, just download it. Either Blu-ray RIP or Web-DL (ripped from streaming services) will have far better quality than a DVD RIP. Unless is something unique, there is no real benefit in doing the leg work yourself.

    If you want max bit-rate or lossless sound get a Blue-Ray remux. Otherwise WEB-DL looks as good for most people and weights a fraction.

    • TheMurphyOP
      link
      fedilink
      English
      221 year ago

      Yeah, my content is unique and in a language not found at any public trackers.

      I’m asking here because some people may be uploading files themselves, and may have experience in compressing. And how to do it.

        • @SquiffSquiff@lemmy.world
          link
          fedilink
          English
          -91 year ago

          Actually these days I would recommend using ChatGPT to get the ideal settings based on source medium and target quality/device

      • @RvTV95XBeo@sh.itjust.works
        link
        fedilink
        English
        41 year ago

        There is a third option for you - as others have suggested, you can use a tool like Handbrake to extract the content from your DVDs, but from there, if you’re feeling adventurous, you can acquire a higher quality release from… Somewhere else… Get it in .mkv format, and you can use a tool like MKVToolNix to extract the audio from your DVD copy and “mux” it onto your HD copy.

        MKV files are great because they are really just containers (like a fancy .zip), keeping the audio and video independent, allowing you to easily swap one out for the other.

        The only downside is you may have to edit the audio slightly to sync up with your video

    • @notfromhere@lemmy.ml
      link
      fedilink
      English
      81 year ago

      I would advise Handbrake over ffmpeg. I have spent months in both and Handbrake yields the best results with the least hassle. Crop, anamorphic pixels, quality, etc.

      H265 nvenc is supported on Handbrake now and works great. Very fast.

  • @retro@infosec.pub
    link
    fedilink
    English
    91 year ago

    Start by using MakeMKV to rip the dvds onto your pc and then use Handbrake to decrease the size even further.

  • @CCMan1701A@startrek.website
    link
    fedilink
    English
    81 year ago

    makeMkv first and handbrake to compress. When using handbrake make sure to pick video and audio formats that work for your clients. I recommend h265 and eAC3 audio.

  • @db2@lemmy.world
    link
    fedilink
    English
    6
    edit-2
    1 year ago

    Far more work than just acquiring a ready made one. It’s not worth your time to do all of them. Some so you can say you did it and know how, sure, but not all.

    Exceptions are for anything you can’t find, of course.

    • TheMurphyOP
      link
      fedilink
      English
      71 year ago

      It’s in a language not on the seven seas, so it’s all something I can’t find.

        • TheMurphyOP
          link
          fedilink
          English
          41 year ago

          Maybe it’s rare but mostly it’s because I don’t have access to any private trackers in my language.

          • @db2@lemmy.world
            link
            fedilink
            English
            51 year ago

            If you can find the correct video though that will cut your encoding time way down. Then you’d only need to pull the audio off the discs and can copy the video stream from the file instead of the disc. I’m not sure what movies you’re talking about so maybe that wouldn’t work either, but it’s worth mentioning.

      • @onlinepersona@programming.dev
        link
        fedilink
        English
        11 year ago

        Do contribute them to I2P. That can’t be taken down. You can even use biglybt or qtorrent to seed to I2P and non-anonymous trackers.

  • @CCMan1701A@startrek.website
    link
    fedilink
    English
    41 year ago

    I noticed you are having an issue finding a partial language of content, you could extract the audio track from the DVD and add it to the copy you find on the seas.

  • @Omega_Jimes@lemmy.ca
    link
    fedilink
    English
    21 year ago

    My really nice blurays that are new, I use Make-MKV and I don’t compress them. My normal movies/etc, I just download high quality rips.