[][src]Struct rusoto_medialive::M2tsSettings

pub struct M2tsSettings {
    pub absent_input_audio_behavior: Option<String>,
    pub arib: Option<String>,
    pub arib_captions_pid: Option<String>,
    pub arib_captions_pid_control: Option<String>,
    pub audio_buffer_model: Option<String>,
    pub audio_frames_per_pes: Option<i64>,
    pub audio_pids: Option<String>,
    pub audio_stream_type: Option<String>,
    pub bitrate: Option<i64>,
    pub buffer_model: Option<String>,
    pub cc_descriptor: Option<String>,
    pub dvb_nit_settings: Option<DvbNitSettings>,
    pub dvb_sdt_settings: Option<DvbSdtSettings>,
    pub dvb_sub_pids: Option<String>,
    pub dvb_tdt_settings: Option<DvbTdtSettings>,
    pub dvb_teletext_pid: Option<String>,
    pub ebif: Option<String>,
    pub ebp_audio_interval: Option<String>,
    pub ebp_lookahead_ms: Option<i64>,
    pub ebp_placement: Option<String>,
    pub ecm_pid: Option<String>,
    pub es_rate_in_pes: Option<String>,
    pub etv_platform_pid: Option<String>,
    pub etv_signal_pid: Option<String>,
    pub fragment_time: Option<f64>,
    pub klv: Option<String>,
    pub klv_data_pids: Option<String>,
    pub null_packet_bitrate: Option<f64>,
    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 rate_mode: Option<String>,
    pub scte_27_pids: Option<String>,
    pub scte_35_control: Option<String>,
    pub scte_35_pid: Option<String>,
    pub segmentation_markers: Option<String>,
    pub segmentation_style: Option<String>,
    pub segmentation_time: Option<f64>,
    pub timed_metadata_behavior: Option<String>,
    pub timed_metadata_pid: Option<String>,
    pub transport_stream_id: Option<i64>,
    pub video_pid: Option<String>,
}

Placeholder documentation for M2tsSettings

Fields

absent_input_audio_behavior: Option<String>

When set to drop, output audio streams will be removed from the program if the selected input audio stream is removed from the input. This allows the output audio configuration to dynamically change based on input configuration. If this is set to encodeSilence, all output audio streams will output encoded silence when not connected to an active input stream.

arib: Option<String>

When set to enabled, uses ARIB-compliant field muxing and removes video descriptor.

arib_captions_pid: Option<String>

Packet Identifier (PID) for ARIB Captions in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

arib_captions_pid_control: Option<String>

If set to auto, pid number used for ARIB Captions will be auto-selected from unused pids. If set to useConfigured, ARIB Captions will be on the configured pid number.

audio_buffer_model: Option<String>

When set to dvb, uses DVB buffer model for Dolby Digital audio. When set to atsc, the ATSC model is used.

audio_frames_per_pes: Option<i64>

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

audio_pids: Option<String>

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. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).

audio_stream_type: Option<String>

When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 for EAC3. When set to dvb, uses stream type = 0x06.

bitrate: Option<i64>

The output bitrate of the transport stream in bits per second. Setting to 0 lets the muxer automatically determine the appropriate bitrate.

buffer_model: Option<String>

If set to multiplex, use multiplex buffer model for accurate interleaving. Setting to bufferModel to none can lead to lower latency, but low-memory devices may not be able to play back the stream without interruptions.

cc_descriptor: Option<String>

When set to enabled, generates captionServiceDescriptor in PMT.

dvb_nit_settings: Option<DvbNitSettings>

Inserts DVB Network Information Table (NIT) at the specified table repetition interval.

dvb_sdt_settings: Option<DvbSdtSettings>

Inserts DVB Service Description Table (SDT) at the specified table repetition interval.

dvb_sub_pids: Option<String>

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. Can be entered as decimal or hexadecimal values. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).

dvb_tdt_settings: Option<DvbTdtSettings>

Inserts DVB Time and Date Table (TDT) at the specified table repetition interval.

dvb_teletext_pid: Option<String>

Packet Identifier (PID) for input source DVB Teletext data to this output. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

ebif: Option<String>

If set to passthrough, passes any EBIF data from the input source to this output.

ebp_audio_interval: Option<String>

When videoAndFixedIntervals is selected, audio EBP markers will be added to partitions 3 and 4. The interval between these additional markers will be fixed, and will be slightly shorter than the video EBP marker interval. Only available when EBP Cablelabs segmentation markers are selected. Partitions 1 and 2 will always follow the video interval.

ebp_lookahead_ms: Option<i64>

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.

ebp_placement: Option<String>

Controls placement of EBP on Audio PIDs. If set to videoAndAudioPids, EBP markers will be placed on the video PID and all audio PIDs. If set to videoPid, EBP markers will be placed on only the video PID.

ecm_pid: Option<String>

This field is unused and deprecated.

es_rate_in_pes: Option<String>

Include or exclude the ES Rate field in the PES header.

etv_platform_pid: Option<String>

Packet Identifier (PID) for input source ETV Platform data to this output. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

etv_signal_pid: Option<String>

Packet Identifier (PID) for input source ETV Signal data to this output. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

fragment_time: Option<f64>

The length in seconds of each fragment. Only used with EBP markers.

klv: Option<String>

If set to passthrough, passes any KLV data from the input source to this output.

klv_data_pids: Option<String>

Packet Identifier (PID) for input source KLV data to this output. Multiple values are accepted, and can be entered in ranges and/or by comma separation. Can be entered as decimal or hexadecimal values. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).

null_packet_bitrate: Option<f64>

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.

pat_interval: Option<i64>

The number of milliseconds between instances of this table in the output transport stream. Valid values are 0, 10..1000.

pcr_control: Option<String>

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.

pcr_period: Option<i64>

Maximum time in milliseconds between Program Clock Reference (PCRs) inserted into the transport stream.

pcr_pid: Option<String>

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. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

pmt_interval: Option<i64>

The number of milliseconds between instances of this table in the output transport stream. Valid values are 0, 10..1000.

pmt_pid: Option<String>

Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

program_num: Option<i64>

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

rate_mode: Option<String>

When vbr, does not insert null packets into transport stream to fill specified bitrate. The bitrate setting acts as the maximum bitrate when vbr is set.

scte_27_pids: Option<String>

Packet Identifier (PID) for input source SCTE-27 data to this output. Multiple values are accepted, and can be entered in ranges and/or by comma separation. Can be entered as decimal or hexadecimal values. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).

scte_35_control: Option<String>

Optionally pass SCTE-35 signals from the input source to this output.

scte_35_pid: Option<String>

Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

segmentation_markers: Option<String>

Inserts segmentation markers at each segmentationTime period. raiSegstart sets the Random Access Indicator bit in the adaptation field. raiAdapt sets the RAI bit and adds the current timecode in the private data bytes. psiSegstart inserts PAT and PMT tables at the start of segments. ebp adds Encoder Boundary Point information to the adaptation field as per OpenCable specification OC-SP-EBP-I01-130118. ebpLegacy adds Encoder Boundary Point information to the adaptation field using a legacy proprietary format.

segmentation_style: Option<String>

The segmentation style parameter controls how segmentation markers are inserted into the transport stream. With avails, it is possible that segments may be truncated, which can influence where future segmentation markers are inserted.

When a segmentation style of "resetCadence" is selected and a segment is truncated due to an avail, we will reset the segmentation cadence. This means the subsequent segment will have a duration of $segmentationTime seconds.

When a segmentation style of "maintainCadence" is selected and a segment is truncated due to an avail, we will not reset the segmentation cadence. This means the subsequent segment will likely be truncated as well. However, all segments after that will have a duration of $segmentationTime seconds. Note that EBP lookahead is a slight exception to this rule.

segmentation_time: Option<f64>

The length in seconds of each segment. Required unless markers is set to None_.

timed_metadata_behavior: Option<String>

When set to passthrough, timed metadata will be passed through from input to output.

timed_metadata_pid: Option<String>

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).

transport_stream_id: Option<i64>

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

video_pid: Option<String>

Packet Identifier (PID) of the elementary video stream in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

Trait Implementations

impl PartialEq<M2tsSettings> for M2tsSettings[src]

impl Default for M2tsSettings[src]

impl Clone for M2tsSettings[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for M2tsSettings[src]

impl<'de> Deserialize<'de> for M2tsSettings[src]

impl Serialize for M2tsSettings[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self