Skip to content

Instantly share code, notes, and snippets.

@peteristhegreat
Last active February 1, 2024 20:48
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peteristhegreat/fc9011706a68ac646ae78272e3d172c4 to your computer and use it in GitHub Desktop.
Save peteristhegreat/fc9011706a68ac646ae78272e3d172c4 to your computer and use it in GitHub Desktop.
Blu-ray ripping with Handbrake in Windows

Chocolatey

First install chocolatey if you don't have it. Its a package manager for Windows that makes life easier for installing programs quickly.

Then install vlc, handbrake, makemkv from chocolatey.

choco install vlc handbrake makemkv libdvdcss-2 -y

Register MakeMKV beta with the most recent monthly key

https://duckduckgo.com/?q=make+mkv+beta+key+reddit&ia=web

Connect makeMKV to Handbrake and VLC

https://www.jahnstek.com/blog/2016/12/backup-your-dvd-and-blu-ray-libraries-with-handbrake-on-windows/

The most important lines from here are:

cd "\Program Files\Handbrake"
mklink libaacs.dll "C:\Program Files (x86)\MakeMKV\libmmbd64.dll"
mklink libbdplus.dll "C:\Program Files (x86)\MakeMKV\libmmbd64.dll"

cd "\Program Files\VideoLan\VLC"
mklink libaacs.dll "C:\Program Files (x86)\MakeMKV\libmmbd64.dll"
mklink libbdplus.dll "C:\Program Files (x86)\MakeMKV\libmmbd64.dll"

If mklink isn't available, you probably need to run your command prompt as an administrator or upgrade your windows account to run as a "developer".

Install Java for VLC to see Blu-ray menus

First instruction: Here is openjre from 2021: https://builds.openlogic.com/downloadJDK/openlogic-openjdk-jre/8u282-b08/openlogic-openjdk-jre-8u282-b08-windows-x64.msi

https://gist.github.com/peteristhegreat/783f9dc83da6b16dbc2053a5acebf739

While installing be sure to select Set JAVA_HOME optional feature so that VLC can find it.

Region Compatibility

Scroll down in here to find it:

https://www.videoconverterfactory.com/tips/play-blu-ray-with-vlc.html

Basically you need to drill thru the Preferences to find the Region setting:

VLC > Tools > Preferences > "All" (not "simple") > "Input / Codecs" > "Access modules" > (drill down arrow) > Blu-ray > Region

Pick a different one between A/B/C, save and try the Blu ray menu again.

Non-working libaacs.dll approach

Lots of places point to this site. It has broken certs, so click thru the "Warning" page to get to it.

It gives you two files: libaccs.dll and the KEYDB.cfg file.

https://vlc-bluray.whoknowsmy.name/

Everytime I tried this approach, it would still complain in the KEYDB.cfg lookup for a valid key in VLC. So it is either out of date or just not working for VLC 3.0 in Q3 2021.

Done

After all is said and done, you can now run blu-ray discs on VLC and make backups on Handbrake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment