SkillAgentSearch skills...

Pywvpssh

Python Based Widevine Modular PSSH Decoder

Install / Use

/learn @alastairmccormack/Pywvpssh
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

View on GitHub
GitHub Stars58
CategoryDevelopment
Updated1mo ago
Forks21

Languages

Python

Security Score

95/100

Audited on Feb 13, 2026

No findings