Interface CfnChannel.M2tsSettingsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnChannel.M2tsSettingsProperty.Jsii$Proxy
Enclosing class:
CfnChannel

@Stability(Stable) public static interface CfnChannel.M2tsSettingsProperty extends software.amazon.jsii.JsiiSerializable
The configuration of the M2TS in the output.

The parents of this entity are ArchiveContainerSettings and UdpContainerSettings.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.medialive.*;
 M2tsSettingsProperty m2tsSettingsProperty = M2tsSettingsProperty.builder()
         .absentInputAudioBehavior("absentInputAudioBehavior")
         .arib("arib")
         .aribCaptionsPid("aribCaptionsPid")
         .aribCaptionsPidControl("aribCaptionsPidControl")
         .audioBufferModel("audioBufferModel")
         .audioFramesPerPes(123)
         .audioPids("audioPids")
         .audioStreamType("audioStreamType")
         .bitrate(123)
         .bufferModel("bufferModel")
         .ccDescriptor("ccDescriptor")
         .dvbNitSettings(DvbNitSettingsProperty.builder()
                 .networkId(123)
                 .networkName("networkName")
                 .repInterval(123)
                 .build())
         .dvbSdtSettings(DvbSdtSettingsProperty.builder()
                 .outputSdt("outputSdt")
                 .repInterval(123)
                 .serviceName("serviceName")
                 .serviceProviderName("serviceProviderName")
                 .build())
         .dvbSubPids("dvbSubPids")
         .dvbTdtSettings(DvbTdtSettingsProperty.builder()
                 .repInterval(123)
                 .build())
         .dvbTeletextPid("dvbTeletextPid")
         .ebif("ebif")
         .ebpAudioInterval("ebpAudioInterval")
         .ebpLookaheadMs(123)
         .ebpPlacement("ebpPlacement")
         .ecmPid("ecmPid")
         .esRateInPes("esRateInPes")
         .etvPlatformPid("etvPlatformPid")
         .etvSignalPid("etvSignalPid")
         .fragmentTime(123)
         .klv("klv")
         .klvDataPids("klvDataPids")
         .nielsenId3Behavior("nielsenId3Behavior")
         .nullPacketBitrate(123)
         .patInterval(123)
         .pcrControl("pcrControl")
         .pcrPeriod(123)
         .pcrPid("pcrPid")
         .pmtInterval(123)
         .pmtPid("pmtPid")
         .programNum(123)
         .rateMode("rateMode")
         .scte27Pids("scte27Pids")
         .scte35Control("scte35Control")
         .scte35Pid("scte35Pid")
         .scte35PrerollPullupMilliseconds(123)
         .segmentationMarkers("segmentationMarkers")
         .segmentationStyle("segmentationStyle")
         .segmentationTime(123)
         .timedMetadataBehavior("timedMetadataBehavior")
         .timedMetadataPid("timedMetadataPid")
         .transportStreamId(123)
         .videoPid("videoPid")
         .build();
 
  • Method Details

    • getAbsentInputAudioBehavior

      @Stability(Stable) @Nullable default String getAbsentInputAudioBehavior()
      When set to drop, the output audio streams are 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 the input configuration. If this is set to encodeSilence, all output audio streams will output encoded silence when not connected to an active input stream.

    • getArib

      @Stability(Stable) @Nullable default String getArib()
      When set to enabled, uses ARIB-compliant field muxing and removes video descriptor.
    • getAribCaptionsPid

      @Stability(Stable) @Nullable default String getAribCaptionsPid()
      The PID for ARIB Captions in the transport stream.

      You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

    • getAribCaptionsPidControl

      @Stability(Stable) @Nullable default String getAribCaptionsPidControl()
      If set to auto, The 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.

    • getAudioBufferModel

      @Stability(Stable) @Nullable default String getAudioBufferModel()
      When set to dvb, uses the DVB buffer model for Dolby Digital audio.

      When set to atsc, the ATSC model is used.

    • getAudioFramesPerPes

      @Stability(Stable) @Nullable default Number getAudioFramesPerPes()
      The number of audio frames to insert for each PES packet.
    • getAudioPids

      @Stability(Stable) @Nullable default String getAudioPids()
      The PID of the elementary audio streams in the transport stream.

      Multiple values are accepted, and can be entered in ranges or by comma separation. You can enter the value as a decimal or hexadecimal value. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).

    • getAudioStreamType

      @Stability(Stable) @Nullable default String getAudioStreamType()
      When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 for EAC3.

      When set to dvb, uses stream type = 0x06.

    • getBitrate

      @Stability(Stable) @Nullable default Number getBitrate()
      The output bitrate of the transport stream in bits per second.

      Setting to 0 lets the muxer automatically determine the appropriate bitrate.

    • getBufferModel

      @Stability(Stable) @Nullable default String getBufferModel()
      If set to multiplex, uses the multiplex buffer model for accurate interleaving.

      Setting to bufferModel to none can lead to lower latency, but low-memory devices might not be able to play back the stream without interruptions.

    • getCcDescriptor

      @Stability(Stable) @Nullable default String getCcDescriptor()
      When set to enabled, generates captionServiceDescriptor in PMT.
    • getDvbNitSettings

      @Stability(Stable) @Nullable default Object getDvbNitSettings()
      Inserts a DVB Network Information Table (NIT) at the specified table repetition interval.
    • getDvbSdtSettings

      @Stability(Stable) @Nullable default Object getDvbSdtSettings()
      Inserts a DVB Service Description Table (SDT) at the specified table repetition interval.
    • getDvbSubPids

      @Stability(Stable) @Nullable default String getDvbSubPids()
      The PID for the input source DVB Subtitle data to this output.

      Multiple values are accepted, and can be entered in ranges and/or by comma separation. You can enter the value as a decimal or hexadecimal value. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).

    • getDvbTdtSettings

      @Stability(Stable) @Nullable default Object getDvbTdtSettings()
      Inserts DVB Time and Date Table (TDT) at the specified table repetition interval.
    • getDvbTeletextPid

      @Stability(Stable) @Nullable default String getDvbTeletextPid()
      The PID for the input source DVB Teletext data to this output.

      You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

    • getEbif

      @Stability(Stable) @Nullable default String getEbif()
      If set to passthrough, passes any EBIF data from the input source to this output.
    • getEbpAudioInterval

      @Stability(Stable) @Nullable default String getEbpAudioInterval()
      When videoAndFixedIntervals is selected, audio EBP markers are added to partitions 3 and 4.

      The interval between these additional markers is fixed, and is slightly shorter than the video EBP marker interval. This is only available when EBP Cablelabs segmentation markers are selected. Partitions 1 and 2 always follow the video interval.

    • getEbpLookaheadMs

      @Stability(Stable) @Nullable default Number getEbpLookaheadMs()
      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 channel must be configured elsewhere to create sufficient latency to make the lookahead accurate.

    • getEbpPlacement

      @Stability(Stable) @Nullable default String getEbpPlacement()
      Controls placement of EBP on audio PIDs.

      If set to videoAndAudioPids, EBP markers are placed on the video PID and all audio PIDs. If set to videoPid, EBP markers are placed on only the video PID.

    • getEcmPid

      @Stability(Stable) @Nullable default String getEcmPid()
      This field is unused and deprecated.
    • getEsRateInPes

      @Stability(Stable) @Nullable default String getEsRateInPes()
      Includes or excludes the ES Rate field in the PES header.
    • getEtvPlatformPid

      @Stability(Stable) @Nullable default String getEtvPlatformPid()
      The PID for the input source ETV Platform data to this output.

      You can enter it as a decimal or hexadecimal value. Valid values are 32 (or 0x20) to 8182 (or 0x1ff6).

    • getEtvSignalPid

      @Stability(Stable) @Nullable default String getEtvSignalPid()
      The PID for input source ETV Signal data to this output.

      You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

    • getFragmentTime

      @Stability(Stable) @Nullable default Number getFragmentTime()
      The length in seconds of each fragment.

      This is used only with EBP markers.

    • getKlv

      @Stability(Stable) @Nullable default String getKlv()
      If set to passthrough, passes any KLV data from the input source to this output.
    • getKlvDataPids

      @Stability(Stable) @Nullable default String getKlvDataPids()
      The PID for the input source KLV data to this output.

      Multiple values are accepted, and can be entered in ranges or by comma separation. You can enter the value as a decimal or hexadecimal value. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).

    • getNielsenId3Behavior

      @Stability(Stable) @Nullable default String getNielsenId3Behavior()
      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.
    • getNullPacketBitrate

      @Stability(Stable) @Nullable default Number getNullPacketBitrate()
      The 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.

    • getPatInterval

      @Stability(Stable) @Nullable default Number getPatInterval()
      The number of milliseconds between instances of this table in the output transport stream.

      Valid values are 0, 10..1000.

    • getPcrControl

      @Stability(Stable) @Nullable default String getPcrControl()
      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.

    • getPcrPeriod

      @Stability(Stable) @Nullable default Number getPcrPeriod()
      The maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.
    • getPcrPid

      @Stability(Stable) @Nullable default String getPcrPid()
      The PID of the Program Clock Reference (PCR) in the transport stream.

      When no value is given, MediaLive assigns the same value as the video PID. You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

    • getPmtInterval

      @Stability(Stable) @Nullable default Number getPmtInterval()
      The number of milliseconds between instances of this table in the output transport stream.

      Valid values are 0, 10..1000.

    • getPmtPid

      @Stability(Stable) @Nullable default String getPmtPid()
      The PID for the Program Map Table (PMT) in the transport stream.

      You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

    • getProgramNum

      @Stability(Stable) @Nullable default Number getProgramNum()
      The value of the program number field in the Program Map Table (PMT).
    • getRateMode

      @Stability(Stable) @Nullable default String getRateMode()
      When VBR, does not insert null packets into the transport stream to fill the specified bitrate.

      The bitrate setting acts as the maximum bitrate when VBR is set.

    • getScte27Pids

      @Stability(Stable) @Nullable default String getScte27Pids()
      The PID for the input source SCTE-27 data to this output.

      Multiple values are accepted, and can be entered in ranges or by comma separation. You can enter the value as a decimal or hexadecimal value. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).

    • getScte35Control

      @Stability(Stable) @Nullable default String getScte35Control()
      Optionally passes SCTE-35 signals from the input source to this output.
    • getScte35Pid

      @Stability(Stable) @Nullable default String getScte35Pid()
      The PID of the SCTE-35 stream in the transport stream.

      You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

    • getScte35PrerollPullupMilliseconds

      @Stability(Stable) @Nullable default Number getScte35PrerollPullupMilliseconds()
      CfnChannel.M2tsSettingsProperty.Scte35PrerollPullupMilliseconds.
    • getSegmentationMarkers

      @Stability(Stable) @Nullable default String getSegmentationMarkers()
      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.

    • getSegmentationStyle

      @Stability(Stable) @Nullable default String getSegmentationStyle()
      The segmentation style parameter controls how segmentation markers are inserted into the transport stream.

      With avails, it is possible that segments might 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.

    • getSegmentationTime

      @Stability(Stable) @Nullable default Number getSegmentationTime()
      The length, in seconds, of each segment.

      This is required unless markers is set to None_.

    • getTimedMetadataBehavior

      @Stability(Stable) @Nullable default String getTimedMetadataBehavior()
      When set to passthrough, timed metadata is passed through from input to output.
    • getTimedMetadataPid

      @Stability(Stable) @Nullable default String getTimedMetadataPid()
      The PID of the timed metadata stream in the transport stream.

      You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

    • getTransportStreamId

      @Stability(Stable) @Nullable default Number getTransportStreamId()
      The value of the transport stream ID field in the Program Map Table (PMT).
    • getVideoPid

      @Stability(Stable) @Nullable default String getVideoPid()
      The PID of the elementary video stream in the transport stream.

      You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

    • builder

      @Stability(Stable) static CfnChannel.M2tsSettingsProperty.Builder builder()
      Returns:
      a CfnChannel.M2tsSettingsProperty.Builder of CfnChannel.M2tsSettingsProperty