2018-02-10 23:37:42 +00:00
|
|
|
|
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<!DOCTYPE html>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
|
2021-04-10 04:00:37 +00:00
|
|
|
|
<html>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<head>
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<meta charset="utf-8" />
|
2021-06-22 00:16:40 +00:00
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
|
|
|
|
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<title>Widevine encryption options — Shaka Packager documentation</title>
|
2021-06-22 00:16:40 +00:00
|
|
|
|
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="../_static/sphinxdoc_new.css" />
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<link rel="stylesheet" type="text/css" href="../_static/graphviz.css" />
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="../_static/table_styling.css" />
|
2021-06-22 00:16:40 +00:00
|
|
|
|
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
|
2021-04-10 04:00:37 +00:00
|
|
|
|
<script src="../_static/jquery.js"></script>
|
|
|
|
|
<script src="../_static/underscore.js"></script>
|
|
|
|
|
<script src="../_static/doctools.js"></script>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<link rel="index" title="Index" href="../genindex.html" />
|
|
|
|
|
<link rel="search" title="Search" href="../search.html" />
|
2020-01-22 00:59:16 +00:00
|
|
|
|
</head><body>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<div class="related" role="navigation" aria-label="related navigation">
|
|
|
|
|
<h3>Navigation</h3>
|
|
|
|
|
<ul>
|
|
|
|
|
<li class="right" style="margin-right: 10px">
|
|
|
|
|
<a href="../genindex.html" title="General Index"
|
|
|
|
|
accesskey="I">index</a></li>
|
2021-04-10 04:00:37 +00:00
|
|
|
|
<li class="nav-item nav-item-0"><a href="../index.html">Shaka Packager documentation</a> »</li>
|
|
|
|
|
<li class="nav-item nav-item-this"><a href="">Widevine encryption options</a></li>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
</ul>
|
2021-04-10 04:00:37 +00:00
|
|
|
|
</div>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
|
|
|
|
|
<div class="document">
|
|
|
|
|
<div class="documentwrapper">
|
|
|
|
|
<div class="bodywrapper">
|
|
|
|
|
<div class="body" role="main">
|
|
|
|
|
|
2021-06-22 00:16:40 +00:00
|
|
|
|
<section id="widevine-encryption-options">
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<h1>Widevine encryption options<a class="headerlink" href="#widevine-encryption-options" title="Permalink to this headline">¶</a></h1>
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<dl class="option-list">
|
|
|
|
|
<dt><kbd><span class="option">--enable_widevine_encryption</span></kbd></dt>
|
|
|
|
|
<dd><p>Enable encryption with Widevine key server. User should provide either
|
2018-02-10 23:37:42 +00:00
|
|
|
|
AES signing key (–aes_signing_key, –aes_signing_iv) or RSA signing key
|
2018-08-16 00:35:22 +00:00
|
|
|
|
(–rsa_signing_key_path). This generates Widevine protection system if
|
|
|
|
|
–protection_systems is not specified. Use –protection_systems to generate
|
2020-01-22 00:59:16 +00:00
|
|
|
|
multiple protection systems.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--enable_widevine_decryption</span></kbd></dt>
|
|
|
|
|
<dd><p>Enable decryption with Widevine key server. User should provide either
|
2018-02-10 23:37:42 +00:00
|
|
|
|
AES signing key (–aes_signing_key, –aes_signing_iv) or RSA signing key
|
2020-01-22 00:59:16 +00:00
|
|
|
|
(–rsa_signing_key_path).</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--key_server_url <var><url></var></span></kbd></dt>
|
|
|
|
|
<dd><p>Key server url. Required for Widevine encryption and decryption.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--content_id <var><hex></var></span></kbd></dt>
|
|
|
|
|
<dd><p>Content identifier that uniquely identifies the content.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--policy <var><policy></var></span></kbd></dt>
|
|
|
|
|
<dd><p>The name of a stored policy, which specifies DRM content rights.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--max_sd_pixels <var><pixels></var></span></kbd></dt>
|
|
|
|
|
<dd><p>The video track is considered SD if its max pixels per frame is no higher
|
|
|
|
|
than <em>max_sd_pixels</em>. Default: 442368 (768 x 576).</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--max_hd_pixels <var><pixels></var></span></kbd></dt>
|
|
|
|
|
<dd><p>The video track is considered HD if its max pixels per frame is higher than
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<em>max_sd_pixels</em>, but no higher than <em>max_hd_pixels</em>. Default: 2073600
|
2020-01-22 00:59:16 +00:00
|
|
|
|
(1920 x 1080).</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--max_uhd1_pixels <var><pixels></var></span></kbd></dt>
|
|
|
|
|
<dd><p>The video track is considered UHD1 if its max pixels per frame is higher
|
2017-09-20 02:35:05 +00:00
|
|
|
|
than <em>max_hd_pixels</em>, but no higher than <em>max_uhd1_pixels</em>. Otherwise it is
|
2020-01-22 00:59:16 +00:00
|
|
|
|
UHD2. Default: 8847360 (4096 x 2160).</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--signer <var><signer></var></span></kbd></dt>
|
|
|
|
|
<dd><p>The name of the signer.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--aes_signing_key <var><hex></var></span></kbd></dt>
|
|
|
|
|
<dd><p>AES signing key in hex string. <em>aes_signing_iv</em> is required if
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<em>aes_signing_key</em> is specified. This option is exclusive with
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<em>rsa_signing_key_path</em>.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--aes_signing_iv <var><hex></var></span></kbd></dt>
|
|
|
|
|
<dd><p>AES signing iv in hex string.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--rsa_signing_key_path <var><file path></var></span></kbd></dt>
|
|
|
|
|
<dd><p>Path to the file containing PKCS#1 RSA private key for request signing.
|
|
|
|
|
This option is exclusive with <em>aes_signing_key</em>.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--crypto_period_duration <var><seconds></var></span></kbd></dt>
|
|
|
|
|
<dd><p>Defines how often key rotates. If it is non-zero, key rotation is enabled.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--group_id <var><hex></var></span></kbd></dt>
|
|
|
|
|
<dd><p>Identifier for a group of licenses.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
2021-06-22 00:16:40 +00:00
|
|
|
|
</section>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
|
|
|
|
|
|
2021-04-10 04:00:37 +00:00
|
|
|
|
<div class="clearer"></div>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-04-10 04:00:37 +00:00
|
|
|
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
|
|
|
|
<div class="sphinxsidebarwrapper">
|
|
|
|
|
<div role="note" aria-label="source link">
|
|
|
|
|
<h3>This Page</h3>
|
|
|
|
|
<ul class="this-page-menu">
|
|
|
|
|
<li><a href="../_sources/options/widevine_encryption_options.rst.txt"
|
|
|
|
|
rel="nofollow">Show Source</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="searchbox" style="display: none" role="search">
|
|
|
|
|
<h3 id="searchlabel">Quick search</h3>
|
|
|
|
|
<div class="searchformwrapper">
|
|
|
|
|
<form class="search" action="../search.html" method="get">
|
|
|
|
|
<input type="text" name="q" aria-labelledby="searchlabel" />
|
|
|
|
|
<input type="submit" value="Go" />
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<script>$('#searchbox').show(0);</script>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<div class="clearer"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="related" role="navigation" aria-label="related navigation">
|
|
|
|
|
<h3>Navigation</h3>
|
|
|
|
|
<ul>
|
|
|
|
|
<li class="right" style="margin-right: 10px">
|
|
|
|
|
<a href="../genindex.html" title="General Index"
|
|
|
|
|
>index</a></li>
|
2021-04-10 04:00:37 +00:00
|
|
|
|
<li class="nav-item nav-item-0"><a href="../index.html">Shaka Packager documentation</a> »</li>
|
|
|
|
|
<li class="nav-item nav-item-this"><a href="">Widevine encryption options</a></li>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="footer" role="contentinfo">
|
|
|
|
|
© Copyright 2017, Google.
|
2021-06-22 00:16:40 +00:00
|
|
|
|
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.0.2.
|
2017-09-20 02:35:05 +00:00
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|