logo
pub struct M3u8Settings {
Show 18 fields pub audio_duration: Option<String>, pub audio_frames_per_pes: Option<i64>, pub audio_pids: Option<Vec<i64>>, pub max_pcr_interval: Option<i64>, pub nielsen_id_3: Option<String>, 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 scte_35_pid: Option<i64>, pub scte_35_source: Option<String>, pub timed_metadata: Option<String>, pub timed_metadata_pid: Option<i64>, pub transport_stream_id: Option<i64>, pub video_pid: Option<i64>,
}
Expand description

These settings relate to the MPEG-2 transport stream (MPEG2-TS) container for the MPEG2-TS segments in your HLS outputs.

Fields

audio_duration: Option<String>

Specify this setting only when your output will be consumed by a downstream repackaging workflow that is sensitive to very small duration differences between video and audio. For this situation, choose Match video duration (MATCHVIDEODURATION). In all other cases, keep the default value, Default codec duration (DEFAULTCODECDURATION). When you choose Match video duration, MediaConvert pads the output audio streams with silence or trims them to ensure that the total duration of each audio stream is at least as long as the total duration of the video stream. After padding or trimming, the audio stream duration is no more than one frame longer than the video stream. MediaConvert applies audio padding or trimming only to the end of the last segment of the output. For unsegmented outputs, MediaConvert adds padding only to the end of the file. When you keep the default value, any minor discrepancies between audio and video duration will depend on your output audio codec.

audio_frames_per_pes: Option<i64>

The number of audio frames to insert for each PES packet.

audio_pids: Option<Vec<i64>>

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.

max_pcr_interval: Option<i64>

Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.

nielsen_id_3: Option<String>

If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.

pat_interval: Option<i64>

The number of milliseconds between instances of this table in the output transport stream.

pcr_control: Option<String>

When set to PCREVERYPES_PACKET 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.

pcr_pid: Option<i64>

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.

pmt_interval: Option<i64>

The number of milliseconds between instances of this table in the output transport stream.

pmt_pid: Option<i64>

Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream.

private_metadata_pid: Option<i64>

Packet Identifier (PID) of the private metadata stream in the transport stream.

program_number: Option<i64>

The value of the program number field in the Program Map Table.

scte_35_pid: Option<i64>

Packet Identifier (PID) of the SCTE-35 stream in the transport stream.

scte_35_source: Option<String>

For SCTE-35 markers from your input-- Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None (NONE) if you don't want SCTE-35 markers in this output. For SCTE-35 markers from an ESAM XML document-- Choose None (NONE) if you don't want manifest conditioning. Choose Passthrough (PASSTHROUGH) and choose Ad markers (adMarkers) if you do want manifest conditioning. In both cases, also provide the ESAM XML as a string in the setting Signal processing notification XML (sccXml).

timed_metadata: Option<String>

Applies only to HLS outputs. Use this setting to specify whether the service inserts the ID3 timed metadata from the input in this output.

timed_metadata_pid: Option<i64>

Packet Identifier (PID) of the timed metadata stream in the transport stream.

transport_stream_id: Option<i64>

The value of the transport stream ID field in the Program Map Table.

video_pid: Option<i64>

Packet Identifier (PID) of the elementary video stream in the transport stream.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more