Shaka Packager SDK
Loading...
Searching...
No Matches
muxer_options.h
1// Copyright 2014 Google LLC. 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 <cstdint>
11#include <string>
12
13#include <packager/mp4_output_params.h>
14
15namespace shaka {
16namespace media {
17
22
24 Mp4OutputParams mp4_params;
25
26 // A positive value, in milliseconds, by which output timestamps are offset to
27 // compensate for negative timestamps in the input.
28 int32_t transport_stream_timestamp_offset_ms = 0;
29
33 std::string output_file_name;
34
39 std::string segment_template;
40
42 std::string temp_dir;
43
46 uint32_t bandwidth = 0;
47};
48
49} // namespace media
50} // namespace shaka
51
52#endif // PACKAGER_MEDIA_BASE_MUXER_OPTIONS_H_
All the methods that are virtual are virtual for mocking.
This structure contains the list of configuration options for Muxer.
std::string temp_dir
Specify temporary directory for intermediate files.
Mp4OutputParams mp4_params
MP4 (ISO-BMFF) specific parameters.