Initial commit: dashdrm-mp4ff plugin

Add a Streamlink plugin (plugin/dashdrm_mp4ff.py) to support DRM-protected MPEG-DASH streams with optional mp4ff-decrypt integration. Include README with usage and installation notes, an interactive helper (gen.py) that reads vault.json and prints Streamlink commands, a vault.json example, pyproject.toml (declares inquirerpy dependency), .python-version, and .gitignore. This provides the plugin, packaging metadata, and tooling needed to run and test DASH-DRM streams locally.
This commit is contained in:
√(noham)²
2026-05-23 19:13:16 +02:00
commit 08e66f21d7
8 changed files with 1290 additions and 0 deletions

24
vault.json.example Normal file
View File

@@ -0,0 +1,24 @@
{
"channels": [
{
"id": "example-channel-1",
"number": "1",
"name": "Example Channel 1",
"mpd_url": "https://example.com/playlist/v1/live/123/1/live.mpd",
"keys": [
"11111111111111111111111111111111:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"22222222222222222222222222222222:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
]
},
{
"id": "example-channel-2",
"number": "2",
"name": "Example Channel 2",
"mpd_url": "https://example.com/playlist/v1/live/456/1/live.mpd",
"keys": [
"33333333333333333333333333333333:cccccccccccccccccccccccccccccccc",
"44444444444444444444444444444444:dddddddddddddddddddddddddddddddd"
]
}
]
}