2018-02-10 23:37:42 +00:00
|
|
|
|
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
|
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
|
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
<head>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
|
<title>HLS options — Shaka Packager documentation</title>
|
|
|
|
|
<link rel="stylesheet" href="../_static/sphinxdoc_new.css" type="text/css" />
|
|
|
|
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
|
|
|
|
<link rel="stylesheet" href="../_static/table_styling.css" type="text/css" />
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
var DOCUMENTATION_OPTIONS = {
|
|
|
|
|
URL_ROOT: '../',
|
|
|
|
|
VERSION: '',
|
|
|
|
|
COLLAPSE_INDEX: false,
|
|
|
|
|
FILE_SUFFIX: '.html',
|
|
|
|
|
HAS_SOURCE: true,
|
|
|
|
|
SOURCELINK_SUFFIX: '.txt'
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
<script type="text/javascript" src="../_static/jquery.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
2018-02-10 23:37:42 +00:00
|
|
|
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></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" />
|
|
|
|
|
</head>
|
2018-02-10 23:37:42 +00:00
|
|
|
|
<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>
|
|
|
|
|
<li class="nav-item nav-item-0"><a href="../index.html">Shaka Packager documentation</a> »</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<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/hls_options.rst.txt"
|
|
|
|
|
rel="nofollow">Show Source</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="searchbox" style="display: none" role="search">
|
|
|
|
|
<h3>Quick search</h3>
|
|
|
|
|
<form class="search" action="../search.html" method="get">
|
|
|
|
|
<div><input type="text" name="q" /></div>
|
|
|
|
|
<div><input type="submit" value="Go" /></div>
|
|
|
|
|
<input type="hidden" name="check_keywords" value="yes" />
|
|
|
|
|
<input type="hidden" name="area" value="default" />
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="document">
|
|
|
|
|
<div class="documentwrapper">
|
|
|
|
|
<div class="bodywrapper">
|
|
|
|
|
<div class="body" role="main">
|
|
|
|
|
|
|
|
|
|
<div class="section" id="hls-options">
|
|
|
|
|
<h1>HLS options<a class="headerlink" href="#hls-options" title="Permalink to this headline">¶</a></h1>
|
|
|
|
|
<table class="docutils option-list" frame="void" rules="none">
|
|
|
|
|
<col class="option" />
|
|
|
|
|
<col class="description" />
|
|
|
|
|
<tbody valign="top">
|
|
|
|
|
<tr><td class="option-group" colspan="2">
|
|
|
|
|
<kbd><span class="option">--hls_master_playlist_output <var><file_path></var></span></kbd></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr><td> </td><td>Output path for the master playlist for HLS. This flag must be used to
|
|
|
|
|
output HLS.</td></tr>
|
|
|
|
|
<tr><td class="option-group" colspan="2">
|
|
|
|
|
<kbd><span class="option">--hls_base_url <var><url></var></span></kbd></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr><td> </td><td>The base URL for the Media Playlists and media files listed in the
|
|
|
|
|
playlists. This is the prefix for the files.</td></tr>
|
|
|
|
|
<tr><td class="option-group" colspan="2">
|
2017-12-12 02:14:43 +00:00
|
|
|
|
<kbd><span class="option">--hls_key_uri <var><uri></var></span></kbd></td>
|
|
|
|
|
</tr>
|
2018-02-10 23:37:42 +00:00
|
|
|
|
<tr><td> </td><td>The key uri for ‘identity’ and ‘com.apple.streamingkeydelivery’ key formats.
|
2017-12-12 02:14:43 +00:00
|
|
|
|
Ignored if the playlist is not encrypted or not using the above key formats.</td></tr>
|
|
|
|
|
<tr><td class="option-group" colspan="2">
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<kbd><span class="option">--hls_playlist_type <var><type></var></span></kbd></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr><td> </td><td>VOD, EVENT, or LIVE. This defines the EXT-X-PLAYLIST-TYPE in the HLS
|
|
|
|
|
specification. For hls_playlist_type of LIVE, EXT-X-PLAYLIST-TYPE tag is
|
|
|
|
|
omitted.</td></tr>
|
2018-02-10 23:37:42 +00:00
|
|
|
|
<tr><td class="option-group" colspan="2">
|
|
|
|
|
<kbd><span class="option">--time_shift_buffer_depth <var><seconds></var></span></kbd></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr><td> </td><td>Guaranteed duration of the time shifting buffer for LIVE playlists, in
|
|
|
|
|
seconds.</td></tr>
|
|
|
|
|
<tr><td class="option-group" colspan="2">
|
2018-05-23 23:12:00 +00:00
|
|
|
|
<kbd><span class="option">--preserved_segments_outside_live_window <var><num_segments></var></span></kbd></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr><td> </td><td><p class="first">Segments outside the live window (defined by <cite>time_shift_buffer_depth</cite>
|
|
|
|
|
above) are automatically removed except for the most recent X segments
|
|
|
|
|
defined by this parameter. This is needed to accommodate latencies in
|
|
|
|
|
various stages of content serving pipeline, so that the segments stay
|
|
|
|
|
accessible as they may still be accessed by the player.</p>
|
|
|
|
|
<p class="last">The segments are not removed if the value is zero.</p>
|
|
|
|
|
</td></tr>
|
|
|
|
|
<tr><td class="option-group" colspan="2">
|
2018-02-10 23:37:42 +00:00
|
|
|
|
<kbd><span class="option">--default_language <var><language></var></span></kbd></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr><td> </td><td>The first audio/text rendition in a group tagged with this language will
|
|
|
|
|
have ‘DEFAULT’ attribute set to ‘YES’. This allows the player to choose the
|
|
|
|
|
correct default language for the content.</td></tr>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<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>
|
|
|
|
|
<li class="nav-item nav-item-0"><a href="../index.html">Shaka Packager documentation</a> »</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="footer" role="contentinfo">
|
|
|
|
|
© Copyright 2017, Google.
|
2018-02-10 23:37:42 +00:00
|
|
|
|
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.7.
|
2017-09-20 02:35:05 +00:00
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|