Shaka Packager SDK
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

Mp4OutputParams mp4_params
 MP4 (ISO-BMFF) specific parameters.
 
std::string output_file_name
 
size_t output_file_index = 0
 
std::string segment_template
 
std::string temp_dir
 Specify temporary directory for intermediate files.
 
uint32_t bandwidth = 0
 

Detailed Description

This structure contains the list of configuration options for Muxer.

Definition at line 20 of file muxer_options.h.

Member Data Documentation

◆ bandwidth

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 50 of file muxer_options.h.

◆ output_file_index

size_t shaka::media::MuxerOptions::output_file_index = 0

Output file index. With one file per Representation per Period, there could be more than one file generated with Ad Cues present. This is the 0-based index of the output file. TODO(kqyang): Remove when the EPT adjustment logic in Fragmenter::FinalizeFragment is removed.

Definition at line 37 of file muxer_options.h.

◆ output_file_name

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 30 of file muxer_options.h.

◆ segment_template

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 43 of file muxer_options.h.


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