mirror of
https://github.com/shaka-project/shaka-packager.git
synced 2026-04-13 08:40:49 +00:00
Widevine PSSH with key-id and without content-id is now be supported. Change-Id: I356590b79f79ff4c0310b22e5dc19b6d24ec4cee
pssh-box - Utility to generate and print PSSH boxes
Installation
To use this script you must first install the Python ProtoBuf library. If you have it installed already, you can just use the script directly. These instructions describe how to compile the ProtoBuf library so this script can run. This will not install ProtoBuf globally; it will only compile it.
-
You need Python 2.6 or newer.
-
Install
setuptools. This is installed by default when you installpip. If you don't have it, when you runsetup.pyit will install it locally. If you want to install manually, see:
https://packaging.python.org/en/latest/installing.html#setup-for-installing-packages
-
Build the packager, which will build
protocinout/{Debug,Release}. -
Run
setup.py. You will need to haveprotocin PATH, which was build in the previous step:
cd packager/third_party/protobuf/python
PATH=../../../../out/{Debug,Release}/:"$PATH" python setup.py build