MCPcopy Create free account
hub / github.com/axiomatic-systems/Bento4 / GetEncryptionKey

Function GetEncryptionKey

Source/Python/utils/mp4utils.py:780–787  ·  view source on GitHub ↗
(options, spec)

Source from the content-addressed store, hash-verified

778 return pssh
779
780def GetEncryptionKey(options, spec):
781 if options.debug:
782 print('Resolving KID and Key from spec:', spec)
783 if spec.startswith('skm:'):
784 import skm
785 return skm.ResolveKey(options, spec[4:])
786 else:
787 raise Exception('Key Locator scheme not supported')
788
789# Compute the Dolby Digital AudioChannelConfiguration value
790#

Callers 1

KeySpecToKeyInfoFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected