MRD
mrd ("drm" backwards), pronounced /mɛː(ɹ)d/
Decoding the primordial soup of video DRM metadata. Inspired by https://walkergriggs.com/2024/10/16/pssh_primordial_soup_of_secure-ish_headers/
Install
Using Homebrew:
brew install stuarthicks/brews/mrd
Using Go:
go install github.com/stuarthicks/mrd@latest
Usage
References:
Either pipe input via STDIN, or use -input [file] to specify a filename. Accepts mp4 and raw pssh/pro paylods (with or without base64 encoding).
Use -verbose or -debug for debug logging.
Use -pretty=false to disable pretty-printing (one line per header object printed).
[!NOTE]
Currently only PlayReady Objects that contain a single PlayReady Object Record are supported. If multiple records are present, the parsing behaviour is undefined and will likely fail.