Reputation: 11
Where the XML file specifies clearKey encryption. It's taken from GPAC's website https://gpac.wp.mines-telecom.fr/mp4box/encryption/common-encryption/
But Don't know how to create this xml file and where i get cipherkey, systemId, cipherIV, BS ID128, Key KID and value? I try to create this file manually but I'm not able to create. Beacause I'm confused where i get all value and how to used those value?
I try to create manually xml file for mp4box and know that clear concept
Upvotes: 1
Views: 734
Reputation: 8254
The PSSH SystemID comes from the DRM vendor. Here are some examples for DRM vendors:
Some of the vendors will provide you with keys and key IDs others will let you create your own keys and key IDs. You have to follow the vendors instructions.
You can use openSSL to generate keys. For example:
$ openssl rand -hex 16
ecd0d06eaf884d8226c33928e87efa33
GPAC 'clear' DRM is only for system testing since the secrete key is embedded in clear text.
For 'clear' GPAC use the sample XML file and change IV, keys and KIDs. For all other DRM vendors follow their instructions for getting systemID, keys and KIDs.
Upvotes: 2