Skip to content

alastairmccormack/pywvpssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python Based Widevine Modular PSSH Decoder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published