DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Attributes | List of all members
shaka::media::MuxerOptions Struct Reference

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
 
std::string output_file_name
 
std::string segment_template
 
std::string hls_name
 
std::string hls_group_id
 
std::string temp_dir
 Specify temporary directory for intermediate files.
 
uint32_t bandwidth
 
std::string packager_version_string
 Specify the version string to be embedded in the output files.
 

Detailed Description

This structure contains the list of configuration options for Muxer.

Definition at line 18 of file muxer_options.h.

Member Data Documentation

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 79 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.

std::string shaka::media::MuxerOptions::hls_group_id

The group ID for the output stream. For HLS this is used as the GROUP-ID attribute for EXT-X-MEDIA. Required for audio when outputting HLS.

Definition at line 72 of file muxer_options.h.

std::string shaka::media::MuxerOptions::hls_name

name of the output stream. This is not (necessarily) the same as output_file_name. For HLS this is used as the NAME attribute for EXT-X-MEDIA. Required for audio when outputting HLS.

Definition at line 67 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 55 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 61 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.


The documentation for this struct was generated from the following files: