9 #include "packager/app/mpd_flags.h"
13 DEFINE_bool(output_media_info,
15 "Create a human readable format of MediaInfo. The output file name "
16 "will be the name specified by output flag, suffixed with "
17 "'.media_info'. Exclusive with --mpd_output.");
18 DEFINE_string(mpd_output,
"",
19 "MPD output file name. Exclusive with --output_media_info.");
20 DEFINE_string(scheme_id_uri,
21 "urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",
22 "This flag only applies if output_media_info is true. This value "
23 "will be set in MediaInfo if the stream is encrypted. "
24 "If the stream is encrypted, MPD requires a <ContentProtection> "
25 "element which requires the schemeIdUri attribute. "
26 "Default value is Widevine PSSH system ID, and it is valid only "
28 DEFINE_string(base_urls,
30 "Comma separated BaseURLs for the MPD. The values will be added "
31 "as <BaseURL> element(s) immediately under the <MPD> element.");
32 DEFINE_double(min_buffer_time,
34 "Specifies, in seconds, a common duration used in the definition "
35 "of the MPD Representation data rate.");
36 DEFINE_double(availability_time_offset,
38 "Offset with respect to the wall clock time for MPD "
39 "availabilityStartTime and availabilityEndTime values, in "
40 " seconds. This value is used for live profile only.");
41 DEFINE_double(minimum_update_period,
43 "Indicates to the player how often to refresh the media "
44 "presentation description in seconds. This value is used for "
45 "live profile only.");
46 DEFINE_double(time_shift_buffer_depth,
48 "Guaranteed duration of the time shifting buffer for dynamic "
49 "media presentations, in seconds.");
50 DEFINE_double(suggested_presentation_delay,
52 "Specifies a delay, in seconds, to be added to the media "
53 "presentation time. This value is used for live profile only.");
54 DEFINE_bool(generate_dash_if_iop_compliant_mpd,
56 "Try to generate DASH-IF IOPv3 compliant MPD. This is best effort "
57 "and does not guarantee compliance. Off by default until players "