You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::MediaLive::Types::M2tsSettings

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing M2tsSettings as input to an Aws::Client method, you can use a vanilla 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",
}

M2ts Settings

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#absent_input_audio_behaviorString

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.

Possible values:

  • DROP
  • ENCODE_SILENCE

Returns:

  • (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.

#aribString

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

Possible values:

  • DISABLED
  • ENABLED

Returns:

  • (String)

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

#arib_captions_pidString

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

Returns:

  • (String)

    Packet Identifier (PID) for ARIB Captions in the transport stream.

#arib_captions_pid_controlString

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.

Possible values:

  • AUTO
  • USE_CONFIGURED

Returns:

  • (String)

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

#audio_buffer_modelString

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

Possible values:

  • ATSC
  • DVB

Returns:

  • (String)

    When set to dvb, uses DVB buffer model for Dolby Digital audio.

#audio_frames_per_pesInteger

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

Returns:

  • (Integer)

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

#audio_pidsString

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

Returns:

  • (String)

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

#audio_stream_typeString

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

Possible values:

  • ATSC
  • DVB

Returns:

  • (String)

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

#bitrateInteger

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

Returns:

  • (Integer)

    The output bitrate of the transport stream in bits per second.

#buffer_modelString

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.

Possible values:

  • MULTIPLEX
  • NONE

Returns:

  • (String)

    Controls the timing accuracy for output network traffic.

#cc_descriptorString

When set to enabled, generates captionServiceDescriptor in PMT.

Possible values:

  • DISABLED
  • ENABLED

Returns:

  • (String)

    When set to enabled, generates captionServiceDescriptor in PMT.

#dvb_nit_settingsTypes::DvbNitSettings

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

Returns:

  • (Types::DvbNitSettings)

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

#dvb_sdt_settingsTypes::DvbSdtSettings

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

Returns:

  • (Types::DvbSdtSettings)

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

#dvb_sub_pidsString

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

Returns:

  • (String)

    Packet Identifier (PID) for input source DVB Subtitle data to this output.

#dvb_tdt_settingsTypes::DvbTdtSettings

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

Returns:

  • (Types::DvbTdtSettings)

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

#dvb_teletext_pidString

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

Returns:

  • (String)

    Packet Identifier (PID) for input source DVB Teletext data to this output.

#ebifString

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

Possible values:

  • NONE
  • PASSTHROUGH

Returns:

  • (String)

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

#ebp_audio_intervalString

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.

Possible values:

  • VIDEO_AND_FIXED_INTERVALS
  • VIDEO_INTERVAL

Returns:

  • (String)

    When videoAndFixedIntervals is selected, audio EBP markers will be added to partitions 3 and 4.

#ebp_lookahead_msInteger

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.

Returns:

  • (Integer)

    When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video.

#ebp_placementString

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.

Possible values:

  • VIDEO_AND_AUDIO_PIDS
  • VIDEO_PID

Returns:

  • (String)

    Controls placement of EBP on Audio PIDs.

#ecm_pidString

This field is unused and deprecated.

Returns:

  • (String)

    This field is unused and deprecated.

#es_rate_in_pesString

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

Possible values:

  • EXCLUDE
  • INCLUDE

Returns:

  • (String)

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

#etv_platform_pidString

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

Returns:

  • (String)

    Packet Identifier (PID) for input source ETV Platform data to this output.

#etv_signal_pidString

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

Returns:

  • (String)

    Packet Identifier (PID) for input source ETV Signal data to this output.

#fragment_timeFloat

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

Returns:

  • (Float)

    The length in seconds of each fragment.

#klvString

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

Possible values:

  • NONE
  • PASSTHROUGH

Returns:

  • (String)

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

#klv_data_pidsString

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

Returns:

  • (String)

    Packet Identifier (PID) for input source KLV data to this output.

#nielsen_id_3_behaviorString

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.

Possible values:

  • NO_PASSTHROUGH
  • PASSTHROUGH

Returns:

  • (String)

    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.

#null_packet_bitrateFloat

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.

Returns:

  • (Float)

    Value in bits per second of extra null packets to insert into the transport stream.

#pat_intervalInteger

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

Returns:

  • (Integer)

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

#pcr_controlString

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.

Possible values:

  • CONFIGURED_PCR_PERIOD
  • PCR_EVERY_PES_PACKET

Returns:

  • (String)

    When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header.

#pcr_periodInteger

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

Returns:

  • (Integer)

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

#pcr_pidString

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

Returns:

  • (String)

    Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport stream.

#pmt_intervalInteger

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

Returns:

  • (Integer)

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

#pmt_pidString

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

Returns:

  • (String)

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

#program_numInteger

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

Returns:

  • (Integer)

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

#rate_modeString

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.

Possible values:

  • CBR
  • VBR

Returns:

  • (String)

    When vbr, does not insert null packets into transport stream to fill specified bitrate.

#scte_27_pidsString

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

Returns:

  • (String)

    Packet Identifier (PID) for input source SCTE-27 data to this output.

#scte_35_controlString

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

Possible values:

  • NONE
  • PASSTHROUGH

Returns:

  • (String)

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

#scte_35_pidString

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

Returns:

  • (String)

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

#segmentation_markersString

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.

Possible values:

  • EBP
  • EBP_LEGACY
  • NONE
  • PSI_SEGSTART
  • RAI_ADAPT
  • RAI_SEGSTART

Returns:

  • (String)

    Inserts segmentation markers at each segmentationTime period.

#segmentation_styleString

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.

Possible values:

  • MAINTAIN_CADENCE
  • RESET_CADENCE

Returns:

  • (String)

    The segmentation style parameter controls how segmentation markers are inserted into the transport stream.

#segmentation_timeFloat

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

Returns:

  • (Float)

    The length in seconds of each segment.

#timed_metadata_behaviorString

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

Possible values:

  • NO_PASSTHROUGH
  • PASSTHROUGH

Returns:

  • (String)

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

#timed_metadata_pidString

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

Returns:

  • (String)

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

#transport_stream_idInteger

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

Returns:

  • (Integer)

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

#video_pidString

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

Returns:

  • (String)

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