class Aws::MediaLive::Types::M2tsSettings

M2ts Settings

@note When making an API call, you may pass M2tsSettings

data as a hash:

    {
      absent_input_audio_behavior: "DROP", # accepts DROP, ENCODE_SILENCE
      arib: "DISABLED", # accepts DISABLED, ENABLED
      arib_captions_pid: "__string",
      arib_captions_pid_control: "AUTO", # accepts AUTO, USE_CONFIGURED
      audio_buffer_model: "ATSC", # accepts ATSC, DVB
      audio_frames_per_pes: 1,
      audio_pids: "__string",
      audio_stream_type: "ATSC", # accepts ATSC, DVB
      bitrate: 1,
      buffer_model: "MULTIPLEX", # accepts MULTIPLEX, NONE
      cc_descriptor: "DISABLED", # accepts DISABLED, ENABLED
      dvb_nit_settings: {
        network_id: 1, # required
        network_name: "__stringMin1Max256", # required
        rep_interval: 1,
      },
      dvb_sdt_settings: {
        output_sdt: "SDT_FOLLOW", # accepts SDT_FOLLOW, SDT_FOLLOW_IF_PRESENT, SDT_MANUAL, SDT_NONE
        rep_interval: 1,
        service_name: "__stringMin1Max256",
        service_provider_name: "__stringMin1Max256",
      },
      dvb_sub_pids: "__string",
      dvb_tdt_settings: {
        rep_interval: 1,
      },
      dvb_teletext_pid: "__string",
      ebif: "NONE", # accepts NONE, PASSTHROUGH
      ebp_audio_interval: "VIDEO_AND_FIXED_INTERVALS", # accepts VIDEO_AND_FIXED_INTERVALS, VIDEO_INTERVAL
      ebp_lookahead_ms: 1,
      ebp_placement: "VIDEO_AND_AUDIO_PIDS", # accepts VIDEO_AND_AUDIO_PIDS, VIDEO_PID
      ecm_pid: "__string",
      es_rate_in_pes: "EXCLUDE", # accepts EXCLUDE, INCLUDE
      etv_platform_pid: "__string",
      etv_signal_pid: "__string",
      fragment_time: 1.0,
      klv: "NONE", # accepts NONE, PASSTHROUGH
      klv_data_pids: "__string",
      nielsen_id_3_behavior: "NO_PASSTHROUGH", # accepts NO_PASSTHROUGH, PASSTHROUGH
      null_packet_bitrate: 1.0,
      pat_interval: 1,
      pcr_control: "CONFIGURED_PCR_PERIOD", # accepts CONFIGURED_PCR_PERIOD, PCR_EVERY_PES_PACKET
      pcr_period: 1,
      pcr_pid: "__string",
      pmt_interval: 1,
      pmt_pid: "__string",
      program_num: 1,
      rate_mode: "CBR", # accepts CBR, VBR
      scte_27_pids: "__string",
      scte_35_control: "NONE", # accepts NONE, PASSTHROUGH
      scte_35_pid: "__string",
      segmentation_markers: "EBP", # accepts EBP, EBP_LEGACY, NONE, PSI_SEGSTART, RAI_ADAPT, RAI_SEGSTART
      segmentation_style: "MAINTAIN_CADENCE", # accepts MAINTAIN_CADENCE, RESET_CADENCE
      segmentation_time: 1.0,
      timed_metadata_behavior: "NO_PASSTHROUGH", # accepts NO_PASSTHROUGH, PASSTHROUGH
      timed_metadata_pid: "__string",
      transport_stream_id: 1,
      video_pid: "__string",
    }

@!attribute [rw] absent_input_audio_behavior

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.
@return [String]

@!attribute [rw] arib

When set to enabled, uses ARIB-compliant field muxing and removes
video descriptor.
@return [String]

@!attribute [rw] arib_captions_pid

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).
@return [String]

@!attribute [rw] arib_captions_pid_control

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.
@return [String]

@!attribute [rw] audio_buffer_model

When set to dvb, uses DVB buffer model for Dolby Digital audio. When
set to atsc, the ATSC model is used.
@return [String]

@!attribute [rw] audio_frames_per_pes

The number of audio frames to insert for each PES packet.
@return [Integer]

@!attribute [rw] audio_pids

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).
@return [String]

@!attribute [rw] audio_stream_type

When set to atsc, uses stream type = 0x81 for AC3 and stream type =
0x87 for EAC3. When set to dvb, uses stream type = 0x06.
@return [String]

@!attribute [rw] bitrate

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

@!attribute [rw] buffer_model

Controls the timing accuracy for output network traffic. Leave as
MULTIPLEX to ensure accurate network packet timing. Or set to NONE,
which might result in lower latency but will result in more
variability in output network packet timing. This variability might
cause interruptions, jitter, or bursty behavior in your playback or
receiving devices.
@return [String]

@!attribute [rw] cc_descriptor

When set to enabled, generates captionServiceDescriptor in PMT.
@return [String]

@!attribute [rw] dvb_nit_settings

Inserts DVB Network Information Table (NIT) at the specified table
repetition interval.
@return [Types::DvbNitSettings]

@!attribute [rw] dvb_sdt_settings

Inserts DVB Service Description Table (SDT) at the specified table
repetition interval.
@return [Types::DvbSdtSettings]

@!attribute [rw] dvb_sub_pids

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).
@return [String]

@!attribute [rw] dvb_tdt_settings

Inserts DVB Time and Date Table (TDT) at the specified table
repetition interval.
@return [Types::DvbTdtSettings]

@!attribute [rw] dvb_teletext_pid

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).
@return [String]

@!attribute [rw] ebif

If set to passthrough, passes any EBIF data from the input source to
this output.
@return [String]

@!attribute [rw] ebp_audio_interval

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.
@return [String]

@!attribute [rw] ebp_lookahead_ms

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.
@return [Integer]

@!attribute [rw] ebp_placement

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.
@return [String]

@!attribute [rw] ecm_pid

This field is unused and deprecated.
@return [String]

@!attribute [rw] es_rate_in_pes

Include or exclude the ES Rate field in the PES header.
@return [String]

@!attribute [rw] etv_platform_pid

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).
@return [String]

@!attribute [rw] etv_signal_pid

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).
@return [String]

@!attribute [rw] fragment_time

The length in seconds of each fragment. Only used with EBP markers.
@return [Float]

@!attribute [rw] klv

If set to passthrough, passes any KLV data from the input source to
this output.
@return [String]

@!attribute [rw] klv_data_pids

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).
@return [String]

@!attribute [rw] nielsen_id_3_behavior

If set to passthrough, Nielsen inaudible tones for media tracking
will be detected in the input audio and an equivalent ID3 tag will
be inserted in the output.
@return [String]

@!attribute [rw] null_packet_bitrate

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.
@return [Float]

@!attribute [rw] pat_interval

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

@!attribute [rw] pcr_control

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.
@return [String]

@!attribute [rw] pcr_period

Maximum time in milliseconds between Program Clock Reference (PCRs)
inserted into the transport stream.
@return [Integer]

@!attribute [rw] pcr_pid

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).
@return [String]

@!attribute [rw] pmt_interval

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

@!attribute [rw] pmt_pid

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).
@return [String]

@!attribute [rw] program_num

The value of the program number field in the Program Map Table.
@return [Integer]

@!attribute [rw] rate_mode

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.
@return [String]

@!attribute [rw] scte_27_pids

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).
@return [String]

@!attribute [rw] scte_35_control

Optionally pass SCTE-35 signals from the input source to this
output.
@return [String]

@!attribute [rw] scte_35_pid

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).
@return [String]

@!attribute [rw] segmentation_markers

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.
@return [String]

@!attribute [rw] segmentation_style

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.
@return [String]

@!attribute [rw] segmentation_time

The length in seconds of each segment. Required unless markers is
set to \_none\_.
@return [Float]

@!attribute [rw] timed_metadata_behavior

When set to passthrough, timed metadata will be passed through from
input to output.
@return [String]

@!attribute [rw] timed_metadata_pid

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).
@return [String]

@!attribute [rw] transport_stream_id

The value of the transport stream ID field in the Program Map Table.
@return [Integer]

@!attribute [rw] video_pid

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).
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/M2tsSettings AWS API Documentation

Constants

SENSITIVE