2017-09-20 02:35:05 +00:00
|
|
|
Raw key encryption options
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2017-10-24 22:51:02 +00:00
|
|
|
--enable_raw_key_encryption
|
2017-09-20 02:35:05 +00:00
|
|
|
|
2018-08-16 00:35:22 +00:00
|
|
|
Enable encryption with raw key (keys provided in command line)). This
|
|
|
|
generates `Common protection system <https://goo.gl/s8RIhr>`_ if neither
|
|
|
|
--pssh nor --protection_systems is specified. Use --pssh to provide custom
|
|
|
|
protection systems or use --protection_systems to generate protection
|
|
|
|
systems automatically.
|
2017-09-20 02:35:05 +00:00
|
|
|
|
2017-10-24 22:51:02 +00:00
|
|
|
--enable_raw_key_decryption
|
2017-09-20 02:35:05 +00:00
|
|
|
|
2017-10-24 22:51:02 +00:00
|
|
|
Enable decryption with raw key (keys provided in command line).
|
2017-09-20 02:35:05 +00:00
|
|
|
|
2017-10-24 22:51:02 +00:00
|
|
|
--keys <key_info_string[,key_info_string][,key_info_string]...>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
2017-10-24 22:51:02 +00:00
|
|
|
**key_info_string** is of the form::
|
2017-09-20 02:35:05 +00:00
|
|
|
|
2021-04-10 04:00:37 +00:00
|
|
|
label=<label>:key_id=<key_id>:key=<key>[:iv=<initialization_vector>]
|
2017-09-20 02:35:05 +00:00
|
|
|
|
2017-10-24 22:51:02 +00:00
|
|
|
*label* can be an arbitrary string or a predefined DRM label like AUDIO,
|
|
|
|
SD, HD, etc. Label with an empty string indicates the default key and
|
|
|
|
key_id. The *drm_label* in :doc:`/options/stream_descriptors`,
|
|
|
|
which can be implicit, determines which key info is applied to the stream
|
|
|
|
by matching the *drm_label* with the *label* in key info.
|
|
|
|
|
|
|
|
*key_id* and *key* should be 32-digit hex strings.
|
2017-09-20 02:35:05 +00:00
|
|
|
|
2021-04-10 04:00:37 +00:00
|
|
|
*initialization_vector* is an optional IV with the same format and semantics
|
|
|
|
as the parameter for the *--iv* option below. This is mutually exclusive with
|
|
|
|
that option.
|
|
|
|
|
2017-09-20 02:35:05 +00:00
|
|
|
--iv <16-digit or 32-digit hex string>
|
|
|
|
|
|
|
|
IV in hex string format. If not specified, a random IV will be generated.
|
|
|
|
This flag should only be used for testing. IV must be either 8 bytes
|
|
|
|
(16 digits HEX) or 16 bytes (32 digits in HEX).
|
|
|
|
|
|
|
|
--pssh <hex string>
|
|
|
|
|
2018-08-16 00:35:22 +00:00
|
|
|
One or more concatenated PSSH boxes in hex string format. If neither this
|
|
|
|
flag nor --protection_systems is specified, a
|
|
|
|
`v1 common PSSH box <https://goo.gl/s8RIhr>`_ will be generated.
|