DASH Media Packaging SDK
|
This structure contains the list of configuration options for Muxer. More...
#include <muxer_options.h>
Public Attributes | |
int | num_subsegments_per_sidx = 0 |
bool | mp4_use_decoding_timestamp_in_timeline = false |
std::string | output_file_name |
std::string | segment_template |
std::string | temp_dir |
Specify temporary directory for intermediate files. | |
uint32_t | bandwidth = 0 |
bool | mp4_include_pssh_in_stream = true |
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 = 0 |
User-specified bit rate for the media stream. If zero, the muxer will attempt to estimate.
Definition at line 52 of file muxer_options.h.
bool shaka::media::MuxerOptions::mp4_use_decoding_timestamp_in_timeline = false |
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 34 of file muxer_options.h.
int shaka::media::MuxerOptions::num_subsegments_per_sidx = 0 |
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 27 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 39 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 45 of file muxer_options.h.