The key tool is ddrescue whose manual explains how to read faulty optical media:
https://www.gnu.org/software/ddrescue/m ... ical-media
Step 1:
Use ddrescue to make a raw copy of the blu-ray disc to an image file and also a map file which identifies the bad areas of the disc (the bytes it could not read):
Code: Select all
ddrescue -n -b2048 /dev/sr0 brimage mapfile
Step 2:
Rerun ddrescue to repeatedly read the bad sectors and attempt to recover as much as it can:
Code: Select all
ddrescue -d -r1 -b2048 /dev/sr0 brimage mapfile
Step 3:
As described by JohnYaya, use MakeMKV to copy the blu-ray disc without decryption:
In these examples, I'm going to use ~/backup/THE_MATRIX as the sub-directory that is specified in MakeMKV as the output folder.JohnYaya wrote:Start a backup, uncheck the decrypt option. Let it run until it gets to the first m2ts file. At that point, it has saved the disc code, which is a file called "discatt.dat". Stop the backup, quit MakeMKV, [...]
Step 4:
Delete the incomplete BDMV directory from the backup folder:
Code: Select all
rm -rvf ~/backup/THE_MATRIX/BDMV
Code: Select all
sudo mount -o loop brimage /mnt
Code: Select all
cp -rv /mnt/BDMV ~/backup/THE_MATRIX/
Follow the last part of JohnYaya instructions:
The discatt.dat file will be somewhere within the backup folder ~/backup/THE_MATRIX/.JohnYaya wrote:[...] start MakeMKV, select File>Open Files and navigate to and double click the discatt.dat file.
And now you can use MakeMKV to rip the backup to mkv files. But first change the output folder in MakeMKV to something else, for example, ~/Videos/THE_MATRIX (i.e. where you usually rip your discs to).
Step 6:
Clean up. You can delete the backup folder and the disc image once you have the titles ripped to mkv files.
Code: Select all
rm -rvf ~/backup/THE_MATRIX
sudo umount /mnt
rm brimage mapfile
That's it. I hope it is helpful.
Cheers