Shaka Packager SDK
muxer_options.h
1 // Copyright 2014 Google Inc. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef PACKAGER_MEDIA_BASE_MUXER_OPTIONS_H_
8 #define PACKAGER_MEDIA_BASE_MUXER_OPTIONS_H_
9 
10 #include <stdint.h>
11 
12 #include <string>
13 
14 #include "packager/media/public/mp4_output_params.h"
15 
16 namespace shaka {
17 namespace media {
18 
20 struct MuxerOptions {
21  MuxerOptions();
22  ~MuxerOptions();
23 
26 
27  // A positive value, in milliseconds, by which output timestamps are offset to
28  // compensate for negative timestamps in the input.
29  uint32_t transport_stream_timestamp_offset_ms = 0;
30 
34  std::string output_file_name;
35 
40  std::string segment_template;
41 
43  std::string temp_dir;
44 
47  uint32_t bandwidth = 0;
48 };
49 
50 } // namespace media
51 } // namespace shaka
52 
53 #endif // PACKAGER_MEDIA_BASE_MUXER_OPTIONS_H_
shaka::media::MuxerOptions::mp4_params
Mp4OutputParams mp4_params
MP4 (ISO-BMFF) specific parameters.
Definition: muxer_options.h:25
shaka::Mp4OutputParams
MP4 (ISO-BMFF) output related parameters.
Definition: mp4_output_params.h:13
shaka::media::MuxerOptions::segment_template
std::string segment_template
Definition: muxer_options.h:40
shaka
All the methods that are virtual are virtual for mocking.
Definition: gflags_hex_bytes.cc:11
shaka::media::MuxerOptions
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:20
shaka::media::MuxerOptions::output_file_name
std::string output_file_name
Definition: muxer_options.h:34
shaka::media::MuxerOptions::temp_dir
std::string temp_dir
Specify temporary directory for intermediate files.
Definition: muxer_options.h:43
shaka::media::MuxerOptions::bandwidth
uint32_t bandwidth
Definition: muxer_options.h:47