2017-09-06 20:57:07 +00:00
|
|
|
General encryption options
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
--protection_scheme <scheme>
|
|
|
|
|
|
|
|
Specify a protection scheme, 'cenc' or 'cbc1' or pattern-based protection
|
|
|
|
schemes 'cens' or 'cbcs'.
|
|
|
|
|
2020-02-10 08:31:45 +00:00
|
|
|
--crypt_byte_block
|
|
|
|
|
|
|
|
Specify the count of the encrypted blocks in the protection pattern, where
|
|
|
|
block is of size 16-bytes.
|
|
|
|
|
|
|
|
There are three common patterns (crypt_byte_block:skip_byte_block):
|
|
|
|
1:9 (default), 5:5, 10:0.
|
|
|
|
|
|
|
|
Apply to video streams with 'cbcs' and 'cens' protection schemes only;
|
|
|
|
ignored otherwise.
|
|
|
|
|
|
|
|
--skip_byte_block
|
|
|
|
|
|
|
|
Specify the count of the unencrypted blocks in the protection pattern.
|
|
|
|
|
|
|
|
Apply to video streams with 'cbcs' and 'cens' protection schemes only;
|
|
|
|
ignored otherwise.
|
|
|
|
|
2017-09-06 20:57:07 +00:00
|
|
|
--vp9_subsample_encryption, --novp9_subsample_encryption
|
|
|
|
|
|
|
|
Enable / disable VP9 subsample encryption. Enabled by default.
|
|
|
|
|
|
|
|
--clear_lead <seconds>
|
|
|
|
|
|
|
|
Clear lead in seconds if encryption is enabled.
|
2020-01-23 20:18:44 +00:00
|
|
|
Shaka Packager does not support partial encrypted segments, all the
|
|
|
|
segments including the partial segment overlapping with the initial
|
|
|
|
'clear_lead' seconds are not encrypted, with all the following segments
|
2019-09-06 20:24:24 +00:00
|
|
|
encrypted. If segment_duration is greater than 'clear_lead', then only the
|
|
|
|
first segment is not encrypted.
|
|
|
|
Default: 5
|
2018-07-20 00:31:28 +00:00
|
|
|
|
2018-08-10 20:31:17 +00:00
|
|
|
--protection_systems
|
2018-07-20 00:31:28 +00:00
|
|
|
|
2018-08-10 20:31:17 +00:00
|
|
|
Protection systems to be generated. Supported protection systems include
|
2018-09-18 00:27:02 +00:00
|
|
|
Widevine, PlayReady, FairPlay, Marlin, and
|
2020-01-23 20:18:44 +00:00
|
|
|
`CommonSystem <https://goo.gl/s8RIhr>`_.
|