Disclaimer: We don't encourage people to copy and distribute any copy-righted contents. This guide is offered to back up your own purchased Blu-ray discs ONLY for convenient playback and fair use.
Read: Is It Legal to rip a DVD for Backup and Private Use in Your Country
There are many free Blu-ray DVD rippers out there that can rip Blu ray to MKV smoothly. The most popular two are MakeMKV and HandBrake. Through MakeMKV, you can rip all kinds of Blu-rays, the free and the commercial ones, into MKV with a file size up to 20 ~ 30G (copy the exact data from the original disc). Via HandBrake the video transcoder, you can convert Bluray to MKV to a much smaller size while preserving the quality. However, HandBrake can only rip copy-free Blu-rays, like home-made ones. And if you input a protected Bluray, HandBrake will send you a "No valid source or titles found" error. So a lot of people try to first rip Blu ray to MKV with MakeMKV and then compress the MKV using Handbrake. That is a working solution but seems to be complicated and arduous. And in this article, we are going to show you a more efficient way to make the conversion - by modifying HandBrake to decrypt and rip Blu ray to MKV. Follow this article to learn the best way to rip a Bluray!
Hot Search: Remove Blu-ray Region Code | HandBrake Won't Rip Entire DVD | HandBrake Copy Protection
Tips: Skip this step if you have a home-made/copy-free Blu-ray movie
Pre-knowledge: libdvdcss is a library designed by VLC for accessing CSS-encrypted DVDs. libmmbd is another library produced by MakeMKV to decrypt M2TS/SSIF files from a Blu-ray disc. Both libraries are licensed under the open-source LGPL license and can be used by any other applications. And by adapting libdvdcss and libmmbd to HandBrake, you can use the modified HandBrake to rip encrypted DVDs and Blu-rays anyway you like.
>> Download and install the latest version of MakeMKV from the official site: https://www.makemkv.com/download/. Run MakeMKV and click Help > Register > input the current registration code into the box and hit OK: T-vBv3hO43Xc4XQNhZZCbnodBarVeXHoa8yne@DeRCCQsm6V7twX3jDI@O8hDkqTUlQf. (The activation key changes regularly, and you can find the updated beta key from https://www.makemkv.com/forum/viewtopic.php?t=1053). Then go to the MakeMKV installation folder (The default path would be C:\Program Files (x86)\MakeMKV), and find and copy libmmbd64.dll.
>> Download and install the latest version of HandBrake from the official site: https://handbrake.fr/downloads.php. Open the local folder where your HandBrake is installed. (The default path would be C:\Program Files (x86)\HandBrake). Paste the just-copied libmmbd64.dll file into the HandBrake folder and make another copy of the libmmbd64.dll file (you’ll have two libmmbd64.dll files now). Rename the two libmmbd64.dll as libaacs.dll and libbdplus.dll separately.
>> Download the needed libdvdcss from Libdvdcss download for 32-bit system l Libdvdcss download for 64-bit. Put libdvdcss-2.dll into the HandBrake folder. Then restart HandBrake and it shall rip encrypted DVDs and Blurays readily.
>> Insert your Blu-ray disc into the Blu-ray reader and then launch HandBrake. On the left sidebar, click on your Blu-ray drive and wait for HandBrake to load your Blu-ray movie.
>> On the top menu bar, click Tools > Preferences > Video. Check any hardware acceleration that is available on your PC from the Encoding field to enable hardware acceleration. This move will speed up the whole ripping process.
>> Move your mouse to the upper-left corner and select the main title from the Title drop-down list. (The main title is usually the largest and longest file). Then click the Presets to choose an output quality from General to Production.
>> Under the Summary tab, select MKV from the Format options. Then go to the Video tab, choose the Video Codec as H.264 (your hardware) or H.265 (your hardware) for encoding video to a small size with a fair quality (See their difference: H.264 vs H.265)
>> Finally, click Start Encode to start the Blu-ray to MKV conversion.
That's the whole process of how to convert Blu-ray to MKV. Hope you'll find this article helpful. Thanks for reading!