9 #include "packager/app/muxer_flags.h"
11 DEFINE_string(profile,
13 "Specify the target DASH profile: on-demand or live. This will "
14 "set proper option values to ensure conformance to the desired "
16 DEFINE_double(clear_lead,
18 "Clear lead in seconds if encryption is enabled.");
19 DEFINE_bool(single_segment,
21 "Generate a single segment for the media presentation. This option "
22 "should be set for on demand profile.");
23 DEFINE_double(segment_duration,
25 "Segment duration in seconds. If single_segment is specified, "
26 "this parameter sets the duration of a subsegment; otherwise, "
27 "this parameter sets the duration of a segment. Actual segment "
28 "durations may not be exactly as requested.");
29 DEFINE_bool(segment_sap_aligned,
31 "Force segments to begin with stream access points.");
32 DEFINE_double(fragment_duration,
34 "Fragment duration in seconds. Should not be larger than "
35 "the segment duration. Actual fragment durations may not be "
36 "exactly as requested.");
37 DEFINE_bool(fragment_sap_aligned,
39 "Force fragments to begin with stream access points. This flag "
40 "implies segment_sap_aligned.");
41 DEFINE_int32(num_subsegments_per_sidx,
43 "For ISO BMFF only. Set the number of subsegments in each "
44 "SIDX box. If 0, a single SIDX box is used per segment; if "
45 "-1, no SIDX box is used; Otherwise, the muxer packs N "
46 "subsegments in the root SIDX of the segment, with "
47 "segment_duration/N/fragment_duration fragments per "
49 DEFINE_string(temp_dir,
51 "Specify a directory in which to store temporary (intermediate) "
52 " files. Used only if single_segment=true.");
53 DEFINE_bool(webm_subsample_encryption,
true,
54 "Enable WebM subsample encryption.");