shaka-packager/packager/tools/pssh
KongQun Yang 27c1900f12 [pssh-box] Support generating Widevine PSSH without content-id
Widevine PSSH with key-id and without content-id is now be supported.

Change-Id: I356590b79f79ff4c0310b22e5dc19b6d24ec4cee
2017-10-18 21:38:23 +00:00
..
README.md Fix pssh README to avoid confusion 2017-03-03 16:13:25 -08:00
pssh-box.py [pssh-box] Support generating Widevine PSSH without content-id 2017-10-18 21:38:23 +00:00

README.md

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.

  1. You need Python 2.6 or newer.

  2. Install setuptools. This is installed by default when you install pip. If you don't have it, when you run setup.py it will install it locally. If you want to install manually, see:

 https://packaging.python.org/en/latest/installing.html#setup-for-installing-packages
  1. Build the packager, which will build protoc in out/{Debug,Release}.

  2. Run setup.py. You will need to have protoc in PATH, which was build in the previous step:

cd packager/third_party/protobuf/python
PATH=../../../../out/{Debug,Release}/:"$PATH" python setup.py build