pub struct M3u8Settings {
pub audio_frames_per_pes: Option<i64>,
pub audio_pids: Option<String>,
pub ecm_pid: Option<String>,
pub pat_interval: Option<i64>,
pub pcr_control: Option<String>,
pub pcr_period: Option<i64>,
pub pcr_pid: Option<String>,
pub pmt_interval: Option<i64>,
pub pmt_pid: Option<String>,
pub program_num: Option<i64>,
pub scte_35_behavior: Option<String>,
pub scte_35_pid: Option<String>,
pub timed_metadata_behavior: Option<String>,
pub timed_metadata_pid: Option<String>,
pub transport_stream_id: Option<i64>,
pub video_pid: Option<String>,
}
Settings information for the .m3u8 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. Can be entered as decimal or hexadecimal values.
This parameter is unused and deprecated.
The number of milliseconds between instances of this table in the output transport stream. A value of "0" writes out the PMT once per segment file.
When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.
Maximum time in milliseconds between Program Clock References (PCRs) inserted into the 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. Can be entered as a decimal or hexadecimal value.
The number of milliseconds between instances of this table in the output transport stream. A value of "0" writes out the PMT once per segment file.
Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream. Can be entered as a decimal or hexadecimal value.
The value of the program number field in the Program Map Table.
If set to passthrough, passes any SCTE-35 signals from the input source to this output.
Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can be entered as a decimal or hexadecimal value.
When set to passthrough, timed metadata is passed through from input to output.
Packet Identifier (PID) of the timed metadata stream in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
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. Can be entered as a decimal or hexadecimal value.
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
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. 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
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
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static