pub struct M2tsSettings {
pub audio_buffer_model: Option<String>,
pub audio_frames_per_pes: Option<i64>,
pub audio_pids: Option<Vec<i64>>,
pub bitrate: Option<i64>,
pub buffer_model: Option<String>,
pub dvb_nit_settings: Option<DvbNitSettings>,
pub dvb_sdt_settings: Option<DvbSdtSettings>,
pub dvb_sub_pids: Option<Vec<i64>>,
pub dvb_tdt_settings: Option<DvbTdtSettings>,
pub dvb_teletext_pid: Option<i64>,
pub ebp_audio_interval: Option<String>,
pub ebp_placement: Option<String>,
pub es_rate_in_pes: Option<String>,
pub fragment_time: Option<f64>,
pub max_pcr_interval: Option<i64>,
pub min_ebp_interval: Option<i64>,
pub nielsen_id_3: Option<String>,
pub null_packet_bitrate: Option<f64>,
pub pat_interval: Option<i64>,
pub pcr_control: Option<String>,
pub pcr_pid: Option<i64>,
pub pmt_interval: Option<i64>,
pub pmt_pid: Option<i64>,
pub private_metadata_pid: Option<i64>,
pub program_number: Option<i64>,
pub rate_mode: Option<String>,
pub scte_35_pid: Option<i64>,
pub scte_35_source: Option<String>,
pub segmentation_markers: Option<String>,
pub segmentation_style: Option<String>,
pub segmentation_time: Option<f64>,
pub timed_metadata_pid: Option<i64>,
pub transport_stream_id: Option<i64>,
pub video_pid: Option<i64>,
}
Settings for M2TS Container.
The number of audio frames to insert for each PES packet.
Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation.
The output bitrate of the transport stream in bits per second. Setting to 0 lets the muxer automatically determine the appropriate bitrate. Other common values are 3750000, 7500000, and 15000000.
Packet Identifier (PID) for input source DVB Subtitle data to this output. Multiple values are accepted, and can be entered in ranges and/or by comma separation.
Packet Identifier (PID) for input source DVB Teletext data to this output.
The length in seconds of each fragment. Only used with EBP markers.
Maximum time in milliseconds between Program Clock References (PCRs) inserted into the transport stream.
When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video. If another EBP is going to come in within the specified time interval, the current EBP is not emitted, and the segment is "stretched" to the next marker. The lookahead value does not add latency to the system. The Live Event must be configured elsewhere to create sufficient latency to make the lookahead accurate.
Value in bits per second of extra null packets to insert into the transport stream. This can be used if a downstream encryption system requires periodic null packets.
The number of milliseconds between instances of this table in the output transport stream.
Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport stream. When no value is given, the encoder will assign the same value as the Video PID.
The number of milliseconds between instances of this table in the output transport stream.
Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream.
Packet Identifier (PID) of the private metadata stream in the transport stream.
The value of the program number field in the Program Map Table.
Packet Identifier (PID) of the SCTE-35 stream in the transport stream.
The length in seconds of each segment. Required unless markers is set to none.
Packet Identifier (PID) of the timed metadata stream in the transport stream.
The value of the transport stream ID field in the Program Map Table.
Packet Identifier (PID) of the elementary video stream in the transport stream.
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more
Deserialize this value from the given Serde deserializer. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)