DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
mpd_flags.cc
1 // Copyright 2014 Google Inc. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 //
7 // Defines Mpd flags.
8 
9 #include "packager/app/mpd_flags.h"
10 
11 // TODO(rkuroiwa, kqyang): Remove the 'Exclusive' statements once
12 // --output_media_info can work together with --mpd_output.
13 DEFINE_bool(output_media_info,
14  false,
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(base_urls,
21  "",
22  "Comma separated BaseURLs for the MPD. The values will be added "
23  "as <BaseURL> element(s) immediately under the <MPD> element.");
24 DEFINE_double(min_buffer_time,
25  2.0,
26  "Specifies, in seconds, a common duration used in the definition "
27  "of the MPD Representation data rate.");
28 DEFINE_double(availability_time_offset,
29  10.0,
30  "Offset with respect to the wall clock time for MPD "
31  "availabilityStartTime and availabilityEndTime values, in "
32  " seconds. This value is used for live profile only.");
33 DEFINE_double(minimum_update_period,
34  5.0,
35  "Indicates to the player how often to refresh the media "
36  "presentation description in seconds. This value is used for "
37  "live profile only.");
38 DEFINE_double(time_shift_buffer_depth,
39  1800.0,
40  "Guaranteed duration of the time shifting buffer for dynamic "
41  "media presentations, in seconds.");
42 DEFINE_double(suggested_presentation_delay,
43  0.0,
44  "Specifies a delay, in seconds, to be added to the media "
45  "presentation time. This value is used for live profile only.");
46 DEFINE_bool(generate_dash_if_iop_compliant_mpd,
47  false,
48  "Try to generate DASH-IF IOPv3 compliant MPD. This is best effort "
49  "and does not guarantee compliance. Off by default until players "
50  "support IOP MPDs.");