axiomatic-systems / Bento4

Full-featured MP4 format, MPEG DASH, HLS, CMAF SDK and tools
http://www.bento4.com
2.04k stars 483 forks source link

Enhancement to support accepting full PSSH boxes and mpd tags as input attributes when applying DRM #102

Open ghost opened 8 years ago

ghost commented 8 years ago

Hi,

Currently mp4-dash packager accepts either explicit encryption attributes (drm type, key, keyid..etc) Or the 'key-system specific' PSSH data (e.g PlayReady PRO, Widevine protobuf) as input arguments when adding DRM to a stream.

However, the CPIXF key management spec states that compliant systems should output the FULL PSSH box and the FULL PSSH mpd tag (both base64 encoded) during key ingest/response.

I would be great if the Bento tool could accept the output from a conforming key management system without any extra processing / extraction being necessary by the custom application.

Thanks,

barbibulle commented 8 years ago

That sounds like a good feature to have. I will look at the CPIXF spec to see how best to support it.