For DVDs, I used Handbrake initially, then switched to MakeMKV. For Bluray, I used MakeMKV and flashed my Bluray drive w/ Libredrive so it can rip UHD disks.
I have only done this on Linux, so I don’t know what this looks like for Windows, but it’s really quite smooth IMO.