https://github.com/stuarthicks/mrd
"DRM" backwards. Inspect Widevine and PlayReady PSSH payloads.
https://github.com/stuarthicks/mrd
cli drm go golang mp4 playready pssh widevine widevine-drm
Last synced: 11 months ago
JSON representation
"DRM" backwards. Inspect Widevine and PlayReady PSSH payloads.
- Host: GitHub
- URL: https://github.com/stuarthicks/mrd
- Owner: stuarthicks
- License: mit
- Created: 2025-03-30T09:55:20.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-04-05T20:11:29.000Z (11 months ago)
- Last Synced: 2025-04-10T00:57:51.813Z (11 months ago)
- Topics: cli, drm, go, golang, mp4, playready, pssh, widevine, widevine-drm
- Language: Go
- Homepage: https://github.com/stuarthicks/mrd
- Size: 32.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
- https://github.com/shaka-project/shaka-packager/blob/main/packager/media/base/widevine_pssh_data.proto
- https://learn.microsoft.com/en-us/playready/specifications/playready-header-specification
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).