DASH Media Packaging SDK
|
This structure contains the list of configuration options for Muxer. More...
#include <muxer_options.h>
Public Attributes | |
bool | single_segment |
double | segment_duration |
double | fragment_duration |
bool | segment_sap_aligned |
bool | fragment_sap_aligned |
int | num_subsegments_per_sidx |
bool | mp4_use_decoding_timestamp_in_timeline |
std::string | output_file_name |
std::string | segment_template |
std::string | temp_dir |
Specify temporary directory for intermediate files. | |
uint32_t | bandwidth |
This structure contains the list of configuration options for Muxer.
Definition at line 18 of file muxer_options.h.
uint32_t shaka::media::MuxerOptions::bandwidth |
User-specified bit rate for the media stream. If zero, the muxer will attempt to estimate.
Definition at line 75 of file muxer_options.h.
double shaka::media::MuxerOptions::fragment_duration |
Fragment duration in seconds. Should not be larger than the segment duration.
Definition at line 34 of file muxer_options.h.
bool shaka::media::MuxerOptions::fragment_sap_aligned |
Force fragments to begin with stream access points. Fragment duration may not be exactly what specified by segment_duration. Setting to true implies that segment_sap_aligned is true as well.
Definition at line 43 of file muxer_options.h.
bool shaka::media::MuxerOptions::mp4_use_decoding_timestamp_in_timeline |
For ISO BMFF only. Set the flag use_decoding_timestamp_in_timeline, which if set to true, use decoding timestamp instead of presentation timestamp in media timeline, which is needed to workaround a Chromium bug that decoding timestamp is used in buffered range, https://crbug.com/398130.
Definition at line 57 of file muxer_options.h.
int shaka::media::MuxerOptions::num_subsegments_per_sidx |
For ISO BMFF only. Set the number of subsegments in each SIDX box. If 0, a single SIDX box is used per segment. If -1, no SIDX box is used. Otherwise, the Muxer will pack N subsegments in the root SIDX of the segment, with segment_duration/N/fragment_duration fragments per subsegment.
Definition at line 50 of file muxer_options.h.
std::string shaka::media::MuxerOptions::output_file_name |
Output file name. If segment_template is not specified, the Muxer generates this single output file with all segments concatenated; Otherwise, it specifies the init segment name.
Definition at line 62 of file muxer_options.h.
double shaka::media::MuxerOptions::segment_duration |
Segment duration in seconds. If single_segment is specified, this parameter sets the duration of a subsegment; otherwise, this parameter sets the duration of a segment. A segment can contain one or many fragments.
Definition at line 30 of file muxer_options.h.
bool shaka::media::MuxerOptions::segment_sap_aligned |
Force segments to begin with stream access points. Segment duration may not be exactly what specified by segment_duration.
Definition at line 38 of file muxer_options.h.
std::string shaka::media::MuxerOptions::segment_template |
Specify output segment name pattern for generated segments. It can furthermore be configured by using a subset of the SegmentTemplate identifiers: $RepresentationID$, $Number$, $Bandwidth$ and $Time. Optional.
Definition at line 68 of file muxer_options.h.
bool shaka::media::MuxerOptions::single_segment |
Generate a single segment for each media presentation. This option should be set for on demand profile.
Definition at line 24 of file muxer_options.h.