9 #include "packager/app/muxer_flags.h" 11 DEFINE_double(clear_lead,
13 "Clear lead in seconds if encryption is enabled. Note that we do " 14 "not support partial segment encryption, so it is rounded up to " 15 "full segments. Set it to a value smaller than segment_duration " 16 "so only the first segment is in clear since the first segment " 17 "could be smaller than segment_duration if there is small " 18 "non-zero starting timestamp.");
19 DEFINE_double(segment_duration,
21 "Segment duration in seconds. If single_segment is specified, " 22 "this parameter sets the duration of a subsegment; otherwise, " 23 "this parameter sets the duration of a segment. Actual segment " 24 "durations may not be exactly as requested.");
25 DEFINE_bool(segment_sap_aligned,
27 "Force segments to begin with stream access points.");
28 DEFINE_double(fragment_duration,
30 "Fragment duration in seconds. Should not be larger than " 31 "the segment duration. Actual fragment durations may not be " 32 "exactly as requested.");
33 DEFINE_bool(fragment_sap_aligned,
35 "Force fragments to begin with stream access points. This flag " 36 "implies segment_sap_aligned.");
37 DEFINE_bool(generate_sidx_in_media_segments,
39 "For ISO BMFF with DASH live profile only. Indicates whether to " 40 "generate 'sidx' box in media segments. Note that it is required " 41 "by spec if segment template contains $Time$ specifier.");
42 DEFINE_string(temp_dir,
44 "Specify a directory in which to store temporary (intermediate) " 45 " files. Used only if single_segment=true.");
46 DEFINE_bool(mp4_include_pssh_in_stream,
48 "MP4 only: include pssh in the encrypted stream.");
49 DEFINE_int32(transport_stream_timestamp_offset_ms,
51 "A positive value, in milliseconds, by which output timestamps " 52 "are offset to compensate for possible negative timestamps in the " 53 "input. For example, timestamps from ISO-BMFF after adjusted by " 54 "EditList could be negative. In transport streams, timestamps are " 55 "not allowed to be less than zero.");