2017-09-06 20:57:07 +00:00
|
|
|
DASH options
|
|
|
|
^^^^^^^^^^^^
|
|
|
|
|
|
|
|
--generate_static_mpd
|
|
|
|
|
|
|
|
If enabled, generates static mpd. If segment_template is specified in
|
|
|
|
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
|
|
|
|
static mpd regardless of the value of this flag.
|
|
|
|
|
2018-05-02 17:55:51 +00:00
|
|
|
--mpd_output <file_path>
|
2017-09-06 20:57:07 +00:00
|
|
|
|
|
|
|
MPD output file name.
|
|
|
|
|
2018-05-02 17:55:51 +00:00
|
|
|
--base_urls <comma_separated_urls>
|
2017-09-06 20:57:07 +00:00
|
|
|
|
2018-05-02 17:55:51 +00:00
|
|
|
Comma separated BaseURLs for the MPD:
|
|
|
|
**<url>[,<url>]...**.
|
2017-09-06 20:57:07 +00:00
|
|
|
|
2018-05-02 17:55:51 +00:00
|
|
|
The values will be added as <BaseURL> element(s) immediately under the <MPD>
|
|
|
|
element.
|
|
|
|
|
|
|
|
--min_buffer_time <seconds>
|
2017-09-06 20:57:07 +00:00
|
|
|
|
|
|
|
Specifies, in seconds, a common duration used in the definition of the MPD
|
|
|
|
Representation data rate.
|
|
|
|
|
2018-05-02 17:55:51 +00:00
|
|
|
--minimum_update_period <seconds>
|
2017-09-06 20:57:07 +00:00
|
|
|
|
|
|
|
Indicates to the player how often to refresh the media presentation
|
|
|
|
description in seconds. This value is used for dynamic MPD only.
|
|
|
|
|
2018-05-02 17:55:51 +00:00
|
|
|
--suggested_presentation_delay <seconds>
|
2017-09-06 20:57:07 +00:00
|
|
|
|
|
|
|
Specifies a delay, in seconds, to be added to the media presentation time.
|
|
|
|
This value is used for dynamic MPD only.
|
|
|
|
|
2018-05-02 17:55:51 +00:00
|
|
|
--time_shift_buffer_depth <seconds>
|
2018-01-18 19:26:47 +00:00
|
|
|
|
|
|
|
Guaranteed duration of the time shifting buffer for dynamic media
|
|
|
|
presentations, in seconds.
|
|
|
|
|
2018-05-01 17:47:06 +00:00
|
|
|
--preserved_segments_outside_live_window <num_segments>
|
|
|
|
|
|
|
|
Segments outside the live window (defined by `time_shift_buffer_depth`
|
|
|
|
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.
|
|
|
|
|
|
|
|
The segments are not removed if the value is zero.
|
|
|
|
|
2018-11-08 22:08:09 +00:00
|
|
|
--utc_timings <scheme_id_uri_value_pairs>
|
2018-05-02 17:55:51 +00:00
|
|
|
|
|
|
|
Comma separated UTCTiming schemeIdUri and value pairs for the MPD:
|
|
|
|
**<scheme_id_uri>=<value>[,<scheme_id_uri>=<value>]...**
|
2018-03-17 01:37:53 +00:00
|
|
|
|
|
|
|
This value is used for dynamic MPD only.
|
|
|
|
|
2018-05-02 17:55:51 +00:00
|
|
|
--default_language <language>
|
2017-09-06 20:57:07 +00:00
|
|
|
|
2018-01-18 19:26:47 +00:00
|
|
|
Any audio/text tracks tagged with this language will have
|
|
|
|
<Role ... value=\"main\" /> in the manifest. This allows the player to
|
|
|
|
choose the correct default language for the content.
|
2017-09-25 19:18:50 +00:00
|
|
|
|
2018-11-20 00:09:24 +00:00
|
|
|
This applies to both audio and text tracks. The default language for text
|
|
|
|
tracks can be overriden by 'default_text_language'.
|
|
|
|
|
|
|
|
--default_text_language <text_language>
|
|
|
|
|
|
|
|
Same as above, but this applies to text tracks only, and overrides the
|
|
|
|
default language for text tracks.
|
|
|
|
|
2017-09-25 19:18:50 +00:00
|
|
|
--allow_approximate_segment_timeline
|
|
|
|
|
|
|
|
For live profile only.
|
|
|
|
|
|
|
|
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 SegmentTemplate@duration instead and omit
|
|
|
|
SegmentTimeline completely.
|
|
|
|
|
|
|
|
Ignored if $Time$ is used in segment template, since $Time$ requires
|
|
|
|
accurate Segment Timeline.
|