I was ripping Star Trek: The Next Generation, Season 5, Disc 6, and encountered a title that MakeMKV could not successfully extract. All the other titles I needed had already been ripped. The missing title was t_01, a 554.8 MB file that I eventually confirmed was only the disc's animated menu background. *Womp womp*
System / Software Environment
Computer: Apple Mac mini (M1, 2020), 8-core CPU, 16 GB RAM
Operating system: macOS Sonoma 14.8.3 (Build 23J220)
Blu-ray drive: HL-DT-ST BD-RE BU40N (USB-connected)
Drive firmware: FR07
MakeMKV: 1.18.4
GNU ddrescue: 1.30
Recovery destination: External storage volume
Media: Star Trek: The Next Generation — Season 5, Disc 6 (Blu-ray)
Recovery method: ddrescue ISO + discatt.dat + symbolic links
Important notes before beginning
The Terminal commands below contain paths that must be adapted to your configuration:
- YOUR_VOLUME — Replace this with the name of your mounted destination storage volume. On macOS, external drives are typically mounted under /Volumes/.
- /dev/rdiskN — Replace N with the disk number assigned to your optical disc. My disc was /dev/rdisk4, but yours may be different. Use to identify the correct device. The r prefix specifies the raw device interface (for example, /dev/disk4 becomes /dev/rdisk4).
Code: Select all
diskutil list
The source /dev/rdiskN is the optical disc being recovered. The ISO and mapfile are output files on a separate destination storage volume. Do not substitute another physical disk device as the output destination.
1. Recovering the disc with GNU ddrescue
I created an ISO of the problematic disc using ddrescue:
Code: Select all
sudo ddrescue -n -b 2048 \
/dev/rdiskN \
"/Volumes/YOUR_VOLUME/TNG Season 5 Disc 6 Recovery/TNG_S5_D6.iso" \
"/Volumes/YOUR_VOLUME/TNG Season 5 Disc 6 Recovery/TNG_S5_D6.map"
I then ran:
Code: Select all
sudo ddrescue -r3 -b 2048 \
/dev/rdiskN \
"/Volumes/YOUR_VOLUME/TNG Season 5 Disc 6 Recovery/TNG_S5_D6.iso" \
"/Volumes/YOUR_VOLUME/TNG Season 5 Disc 6 Recovery/TNG_S5_D6.map"
Notes:
- I initially tried -d for direct disk access, but this was not supported for my optical drive on macOS. Removing -d worked.
- The ISO and mapfile must use the same paths during subsequent recovery passes so ddrescue can resume rather than start over.
- The destination directory must already exist before running ddrescue.
- ddrescue reporting zero bad sectors means all requested sectors were read successfully. It does not independently verify that the recovered video content is correct.
Despite ddrescue reporting a complete recovery, opening the raw ISO directly in MakeMKV produced hundreds of errors involving:
Code: Select all
/BDMV/STREAM/00000.m2tsEventually MakeMKV stalled at "Processing titles," with no progress-bar movement and an increasing estimated completion time.
However, macOS successfully mounted the ISO:
Code: Select all
hdiutil attach -readonly -noautoopen \
"/Volumes/YOUR_VOLUME/TNG Season 5 Disc 6 Recovery/TNG_S5_D6.iso"
Code: Select all
/Volumes/STAR TREK TNG S5 D6This suggested that the problem might involve decryption rather than widespread corruption of the recovered data.
3. Capturing discatt.dat
I reinserted the original physical Blu-ray and opened it in MakeMKV.
I selected File → Backup, unchecked "Decrypt video files," and started an encrypted backup to a separate folder I created.
Once MakeMKV created discatt.dat (approximately 1.5 KB), I canceled the backup.
I saved the backup at:
Code: Select all
/Volumes/YOUR_VOLUME/Disc 6 backup/STAR TREK TNG S5 D6/discatt.dat4. Creating a virtual backup with symbolic links
Rather than copying the entire recovered ISO into another 40 GB folder, I created a virtual backup directory containing discatt.dat and symbolic links to the mounted ISO.
Code: Select all
mkdir -p "/Volumes/YOUR_VOLUME/TNG_S5_D6_Virtual_Backup"
cp "/Volumes/YOUR_VOLUME/Disc 6 backup/STAR TREK TNG S5 D6/discatt.dat" \
"/Volumes/YOUR_VOLUME/TNG_S5_D6_Virtual_Backup/"
for folder in AACS BDMV CERTIFICATE; do
ln -s "/Volumes/STAR TREK TNG S5 D6/$folder" \
"/Volumes/YOUR_VOLUME/TNG_S5_D6_Virtual_Backup/$folder"
done
The symbolic links allowed MakeMKV to access the recovered disc contents without creating another full copy of the ISO.
Important: The ISO must remain mounted at the expected path while using these symbolic links.
5. Opening the recovered backup in MakeMKV
I used File → Open Files and selected:
Code: Select all
/Volumes/YOUR_VOLUME/TNG_S5_D6_Virtual_Backup/discatt.datI selected the missing 554.8 MB title and extracted it.
The extraction completed in approximately five seconds.
I opened the resulting MKV and confirmed that it played correctly. It was indeed the disc's menu background.
So I spent a lot of time recovering something of limited value; but the procedure was successful, and I'll use it if I ever encounter another unreadable portion, especially if it's valuable content.
Conclusion
A complete sector-level recovery with ddrescue does not necessarily produce an ISO that MakeMKV can decrypt directly.
In my case, obtaining discatt.dat from an undecrypted MakeMKV backup and combining it with the mounted ISO's directories allowed MakeMKV to process and extract the previously inaccessible title.
The symbolic-link approach also avoided creating a second full copy of the recovered disc.
While this doesn't prove that missing disc-specific decryption information was the only problem, it was the key difference between my unsuccessful attempt to open the raw ISO and the successful extraction from the virtual backup.
Thanks to the forum contributors who previously documented the ddrescue and discatt.dat techniques. I hope these macOS-specific instructions and confirmed results help someone else facing a stubborn disc.