mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-03 21:29:27 +00:00
[Request] Detect BEE BD-Video Protection #731
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Deterous on GitHub (Aug 13, 2024).
Originally assigned to: @mnadareski, @Deterous on GitHub.
BEE (Bus Encryption Enabled) is a feature on certain drives that encrypts the audio-visual files present on certain blu-ray discs.
The data on the disc itself is not encrypted, so it is useful for MPF to detect whether a disc has BEE enabled and if so, print it to the submission info.
Of note for redump, we would be able to see this BEE flag and check with the drive model and with the dumper as to whether the BD-Video dump is good (no encryption, identical to disc) or bad (has been encrypted by the drive).
Detection can be done by checking whether the first bit of the second byte of
AACS/Content000.ceris 1 (enabled) or 0 (disabled). IfAACS/Content000.ceris not present or has size=0bytes, then the same check can be run onAACS/Content001.cerThat is, MPF needs to open
AACS/Content000.cerfile (AACS/Content001.cerif 000 size=0), read the second byte (data[1]). If> 127then BEE is enabled, otherwise it is not.@mnadareski commented on GitHub (Aug 20, 2024):
Addressed by
33c35b63d7,cfc75ca84d, and135bb43cdf