mrd

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2025 License: MIT Imports: 17 Imported by: 0

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:

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 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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL