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 > DASH 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 = "" > DASH 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 = "dash-options" >
2017-09-20 02:35:05 +00:00
< h1 > DASH options< a class = "headerlink" href = "#dash-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" > --generate_static_live_mpd< / span > < / kbd > < / dt >
< dd > < p > If enabled, generates static mpd. If segment_template is specified in
2017-09-20 02:35:05 +00:00
stream descriptors, shaka-packager generates dynamic mpd by default; if
this flag is enabled, shaka-packager generates static mpd instead. Note
that if segment_template is not specified, shaka-packager always generates
2020-01-22 00:59:16 +00:00
static mpd regardless of the value of this flag.< / p >
< / dd >
< dt > < kbd > < span class = "option" > --mpd_output < var > < file_path> < / var > < / span > < / kbd > < / dt >
< dd > < p > MPD output file name.< / p >
< / dd >
< dt > < kbd > < span class = "option" > --base_urls < var > < comma_separated_urls> < / var > < / span > < / kbd > < / dt >
< dd > < dl class = "simple" >
< dt > Comma separated BaseURLs for the MPD:< / dt > < dd > < p > < strong > < url> [,< url> ]…< / strong > .< / p >
< / dd >
2018-05-23 23:12:00 +00:00
< / dl >
2020-01-22 00:59:16 +00:00
< p > The values will be added as < BaseURL> element(s) immediately under the < MPD>
2018-05-23 23:12:00 +00:00
element.< / p >
2020-01-22 00:59:16 +00:00
< / dd >
< dt > < kbd > < span class = "option" > --min_buffer_time < var > < seconds> < / var > < / span > < / kbd > < / dt >
< dd > < p > Specifies, in seconds, a common duration used in the definition of the MPD
Representation data rate.< / p >
< / dd >
< dt > < kbd > < span class = "option" > --minimum_update_period < var > < seconds> < / var > < / span > < / kbd > < / dt >
< dd > < p > Indicates to the player how often to refresh the media presentation
description in seconds. This value is used for dynamic MPD only.< / p >
< / dd >
< dt > < kbd > < span class = "option" > --suggested_presentation_delay < var > < seconds> < / var > < / span > < / kbd > < / dt >
< dd > < p > Specifies a delay, in seconds, to be added to the media presentation time.
This value is used for dynamic MPD only.< / p >
< / dd >
< dt > < kbd > < span class = "option" > --time_shift_buffer_depth < var > < seconds> < / var > < / span > < / kbd > < / dt >
< dd > < p > Guaranteed duration of the time shifting buffer for dynamic media
presentations, in seconds.< / p >
< / dd >
< dt > < kbd > < span class = "option" > --preserved_segments_outside_live_window < var > < num_segments> < / var > < / span > < / kbd > < / dt >
< dd > < p > Segments outside the live window (defined by < cite > time_shift_buffer_depth< / cite >
2018-05-23 23:12:00 +00:00
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 >
2020-01-22 00:59:16 +00:00
< p > The segments are not removed if the value is zero.< / p >
< / dd >
< dt > < kbd > < span class = "option" > --utc_timings < var > < scheme_id_uri_value_pairs> < / var > < / span > < / kbd > < / dt >
< dd > < dl class = "simple" >
< dt > Comma separated UTCTiming schemeIdUri and value pairs for the MPD:< / dt > < dd > < p > < strong > < scheme_id_uri> =< value> [,< scheme_id_uri> =< value> ]…< / strong > < / p >
< / dd >
2018-05-23 23:12:00 +00:00
< / dl >
2020-01-22 00:59:16 +00:00
< p > This value is used for dynamic MPD only.< / p >
< / dd >
< dt > < kbd > < span class = "option" > --default_language < var > < language> < / var > < / span > < / kbd > < / dt >
< dd > < p > Any audio/text tracks tagged with this language will have
2021-04-10 04:00:37 +00:00
< Role … value=" main" /> in the manifest. This allows the player to
2018-12-20 22:38:40 +00:00
choose the correct default language for the content.< / p >
2020-01-22 00:59:16 +00:00
< p > This applies to both audio and text tracks. The default language for text
2018-12-20 22:38:40 +00:00
tracks can be overriden by ‘ default_text_language’ .< / p >
2020-01-22 00:59:16 +00:00
< / dd >
< dt > < kbd > < span class = "option" > --default_text_language < var > < text_language> < / var > < / span > < / kbd > < / dt >
< dd > < p > Same as above, but this applies to text tracks only, and overrides the
default language for text tracks.< / p >
< / dd >
< dt > < kbd > < span class = "option" > --allow_approximate_segment_timeline< / span > < / kbd > < / dt >
< dd > < p > For live profile only.< / p >
2018-05-23 23:12:00 +00:00
< p > If enabled, segments with close duration (i.e. with difference less than
one sample) are considered to have the same duration. This enables
MPD generator to generate less SegmentTimeline entries. If all segments
are of the same duration except the last one, we will do further
optimization to use < a class = "reference external" href = "mailto:SegmentTemplate%40duration" > SegmentTemplate< span > @ < / span > duration< / a > instead and omit
SegmentTimeline completely.< / p >
2020-01-22 00:59:16 +00:00
< p > Ignored if $Time$ is used in segment template, since $Time$ requires
2018-05-23 23:12:00 +00:00
accurate Segment Timeline.< / p >
2020-01-22 00:59:16 +00:00
< / dd >
< / dl >
2021-04-10 04:00:37 +00:00
< p > – dash_only=0|1< / p >
< blockquote >
< div > < p > Optional. Defaults to 0 if not specified. If it is set to 1, indicates the
stream is DASH only.< / p >
< / div > < / blockquote >
< dl class = "option-list" >
< dt > < kbd > < span class = "option" > --allow_codec_switching< / span > < / kbd > < / dt >
< dd > < p > If enabled, allow adaptive switching between different codecs, if they have
the same language, media type (audio, video etc) and container type.< / 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/dash_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 = "" > DASH 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 >