DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
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 MEDIA_BASE_MUXER_OPTIONS_H_
8 #define MEDIA_BASE_MUXER_OPTIONS_H_
9 
10 #include <stdint.h>
11 
12 #include <string>
13 
14 namespace shaka {
15 namespace media {
16 
18 struct MuxerOptions {
19  MuxerOptions();
20  ~MuxerOptions();
21 
26  double segment_duration = 0;
27 
30  double fragment_duration = 0;
31 
34  bool segment_sap_aligned = false;
35 
39  bool fragment_sap_aligned = false;
40 
47 
54 
58  std::string output_file_name;
59 
64  std::string segment_template;
65 
67  std::string temp_dir;
68 
71  uint32_t bandwidth = 0;
72 
73  // Enable/disable subsample encryption for WebM containers.
74  bool webm_subsample_encryption = true;
75 };
76 
77 } // namespace media
78 } // namespace shaka
79 
80 #endif // MEDIA_BASE_MUXER_OPTIONS_H_
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
std::string temp_dir
Specify temporary directory for intermediate files.
Definition: muxer_options.h:67