9 #include "packager/app/muxer_flags.h" 11 DEFINE_double(clear_lead,
13 "Clear lead in seconds if encryption is enabled.");
14 DEFINE_double(segment_duration,
16 "Segment duration in seconds. If single_segment is specified, " 17 "this parameter sets the duration of a subsegment; otherwise, " 18 "this parameter sets the duration of a segment. Actual segment " 19 "durations may not be exactly as requested.");
20 DEFINE_bool(segment_sap_aligned,
22 "Force segments to begin with stream access points.");
23 DEFINE_double(fragment_duration,
25 "Fragment duration in seconds. Should not be larger than " 26 "the segment duration. Actual fragment durations may not be " 27 "exactly as requested.");
28 DEFINE_bool(fragment_sap_aligned,
30 "Force fragments to begin with stream access points. This flag " 31 "implies segment_sap_aligned.");
32 DEFINE_int32(num_subsegments_per_sidx,
34 "For ISO BMFF only. Set the number of subsegments in each " 35 "SIDX box. If 0, a single SIDX box is used per segment; if " 36 "-1, no SIDX box is used; Otherwise, the muxer packs N " 37 "subsegments in the root SIDX of the segment, with " 38 "segment_duration/N/fragment_duration fragments per " 40 DEFINE_string(temp_dir,
42 "Specify a directory in which to store temporary (intermediate) " 43 " files. Used only if single_segment=true.");
44 DEFINE_bool(mp4_include_pssh_in_stream,
46 "MP4 only: include pssh in the encrypted stream.");
47 DEFINE_bool(mp4_use_decoding_timestamp_in_timeline,
49 "If set, decoding timestamp instead of presentation timestamp will " 50 "be used when generating media timeline, e.g. timestamps in sidx " 51 "and mpd. This is to workaround a Chromium bug that decoding " 52 "timestamp is used in buffered range, https://crbug.com/398130.");