(options, spec)
| 778 | return pssh |
| 779 | |
| 780 | def 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 | # |