Pywvpssh
Python Based Widevine Modular PSSH Decoder
Install / Use
/learn @alastairmccormack/PywvpsshREADME
Widevine Modular PSSH Decoder
Python based PSSH header dumper for MP4 / MP4 ISO Base Media File Format / DASH Fragments
Usage
Script
pywvpsshdump myfile.mp4
Output:
Filename: myfile.mp4
algorith: AESCTR
key_id: ffffff
provider: myprovider
content_id: 1234567890
track_type:
policy:
crypto_period_index: 1198817
grouped_license:
Programmatically
>>> import pywvpssh
>>> pssh = WvPsshExtractor.extract(mp4_file=filename)
>>> type(pssh)
widevine_pssh_pb2.WidevinePsshData
>>> pssh.content_id
1234567890
Installation
Quick
Pip install with dependencies:
pip install https://github.com/use-sparingly/pymp4parse/zipball/master \
https://github.com/use-sparingly/pywvpssh/zipball/master
Requirements
- pymp4parse: https://github.com/use-sparingly/pymp4parse
- Protobuf: https://pypi.python.org/pypi/protobuf
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
