Class CfnChannel.M2tsSettingsProperty
The configuration of the M2TS in the output.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.MediaLive
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class M2tsSettingsProperty : Object, CfnChannel.IM2tsSettingsProperty
Syntax (vb)
Public Class M2tsSettingsProperty
Inherits Object
Implements CfnChannel.IM2tsSettingsProperty
Remarks
The parents of this entity are ArchiveContainerSettings and UdpContainerSettings.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;
var m2tsSettingsProperty = new M2tsSettingsProperty {
AbsentInputAudioBehavior = "absentInputAudioBehavior",
Arib = "arib",
AribCaptionsPid = "aribCaptionsPid",
AribCaptionsPidControl = "aribCaptionsPidControl",
AudioBufferModel = "audioBufferModel",
AudioFramesPerPes = 123,
AudioPids = "audioPids",
AudioStreamType = "audioStreamType",
Bitrate = 123,
BufferModel = "bufferModel",
CcDescriptor = "ccDescriptor",
DvbNitSettings = new DvbNitSettingsProperty {
NetworkId = 123,
NetworkName = "networkName",
RepInterval = 123
},
DvbSdtSettings = new DvbSdtSettingsProperty {
OutputSdt = "outputSdt",
RepInterval = 123,
ServiceName = "serviceName",
ServiceProviderName = "serviceProviderName"
},
DvbSubPids = "dvbSubPids",
DvbTdtSettings = new DvbTdtSettingsProperty {
RepInterval = 123
},
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"
};
Synopsis
Constructors
M2ts |
Properties
Absent |
When set to drop, the output audio streams are removed from the program if the selected input audio stream is removed from the input. |
Arib | When set to enabled, uses ARIB-compliant field muxing and removes video descriptor. |
Arib |
The PID for ARIB Captions in the transport stream. |
Arib |
If set to auto, The PID number used for ARIB Captions will be auto-selected from unused PIDs. |
Audio |
When set to dvb, uses the DVB buffer model for Dolby Digital audio. |
Audio |
The number of audio frames to insert for each PES packet. |
Audio |
The PID of the elementary audio streams in the transport stream. |
Audio |
When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 for EAC3. |
Bitrate | The output bitrate of the transport stream in bits per second. |
Buffer |
If set to multiplex, uses the multiplex buffer model for accurate interleaving. |
Cc |
When set to enabled, generates captionServiceDescriptor in PMT. |
Dvb |
Inserts a DVB Network Information Table (NIT) at the specified table repetition interval. |
Dvb |
Inserts a DVB Service Description Table (SDT) at the specified table repetition interval. |
Dvb |
The PID for the input source DVB Subtitle data to this output. |
Dvb |
Inserts DVB Time and Date Table (TDT) at the specified table repetition interval. |
Dvb |
The PID for the input source DVB Teletext data to this output. |
Ebif | If set to passthrough, passes any EBIF data from the input source to this output. |
Ebp |
When videoAndFixedIntervals is selected, audio EBP markers are added to partitions 3 and 4. |
Ebp |
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 |
Controls placement of EBP on audio PIDs. |
Ecm |
This field is unused and deprecated. |
Es |
Includes or excludes the ES Rate field in the PES header. |
Etv |
The PID for the input source ETV Platform data to this output. |
Etv |
The PID for input source ETV Signal data to this output. |
Fragment |
The length in seconds of each fragment. |
Klv | If set to passthrough, passes any KLV data from the input source to this output. |
Klv |
The PID for the input source KLV data to this output. |
Nielsen |
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 |
The value, in bits per second, of extra null packets to insert into the transport stream. |
Pat |
The number of milliseconds between instances of this table in the output transport stream. |
Pcr |
When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. |
Pcr |
The maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream. |
Pcr |
The PID of the Program Clock Reference (PCR) in the transport stream. |
Pmt |
The number of milliseconds between instances of this table in the output transport stream. |
Pmt |
The PID for the Program Map Table (PMT) in the transport stream. |
Program |
The value of the program number field in the Program Map Table (PMT). |
Rate |
When VBR, does not insert null packets into the transport stream to fill the specified bitrate. |
Scte27Pids | The PID for the input source SCTE-27 data to this output. |
Scte35Control | Optionally passes SCTE-35 signals from the input source to this output. |
Scte35Pid | The PID of the SCTE-35 stream in the transport stream. |
Scte35Preroll |
|
Segmentation |
Inserts segmentation markers at each segmentationTime period. |
Segmentation |
The segmentation style parameter controls how segmentation markers are inserted into the transport stream. |
Segmentation |
The length, in seconds, of each segment. |
Timed |
When set to passthrough, timed metadata is passed through from input to output. |
Timed |
The PID of the timed metadata stream in the transport stream. |
Transport |
The value of the transport stream ID field in the Program Map Table (PMT). |
Video |
The PID of the elementary video stream in the transport stream. |
Constructors
M2tsSettingsProperty()
public M2tsSettingsProperty()
Properties
AbsentInputAudioBehavior
When set to drop, the output audio streams are removed from the program if the selected input audio stream is removed from the input.
public string AbsentInputAudioBehavior { get; set; }
Property Value
System.
Remarks
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.
Arib
When set to enabled, uses ARIB-compliant field muxing and removes video descriptor.
public string Arib { get; set; }
Property Value
System.
Remarks
AribCaptionsPid
The PID for ARIB Captions in the transport stream.
public string AribCaptionsPid { get; set; }
Property Value
System.
Remarks
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
AribCaptionsPidControl
If set to auto, The PID number used for ARIB Captions will be auto-selected from unused PIDs.
public string AribCaptionsPidControl { get; set; }
Property Value
System.
Remarks
If set to useConfigured, ARIB captions will be on the configured PID number.
AudioBufferModel
When set to dvb, uses the DVB buffer model for Dolby Digital audio.
public string AudioBufferModel { get; set; }
Property Value
System.
Remarks
When set to atsc, the ATSC model is used.
AudioFramesPerPes
The number of audio frames to insert for each PES packet.
public Nullable<double> AudioFramesPerPes { get; set; }
Property Value
System.
Remarks
AudioPids
The PID of the elementary audio streams in the transport stream.
public string AudioPids { get; set; }
Property Value
System.
Remarks
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).
AudioStreamType
When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 for EAC3.
public string AudioStreamType { get; set; }
Property Value
System.
Remarks
When set to dvb, uses stream type = 0x06.
Bitrate
The output bitrate of the transport stream in bits per second.
public Nullable<double> Bitrate { get; set; }
Property Value
System.
Remarks
Setting to 0 lets the muxer automatically determine the appropriate bitrate.
BufferModel
If set to multiplex, uses the multiplex buffer model for accurate interleaving.
public string BufferModel { get; set; }
Property Value
System.
Remarks
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.
CcDescriptor
When set to enabled, generates captionServiceDescriptor in PMT.
public string CcDescriptor { get; set; }
Property Value
System.
Remarks
DvbNitSettings
Inserts a DVB Network Information Table (NIT) at the specified table repetition interval.
public object DvbNitSettings { get; set; }
Property Value
System.
Remarks
DvbSdtSettings
Inserts a DVB Service Description Table (SDT) at the specified table repetition interval.
public object DvbSdtSettings { get; set; }
Property Value
System.
Remarks
DvbSubPids
The PID for the input source DVB Subtitle data to this output.
public string DvbSubPids { get; set; }
Property Value
System.
Remarks
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).
DvbTdtSettings
Inserts DVB Time and Date Table (TDT) at the specified table repetition interval.
public object DvbTdtSettings { get; set; }
Property Value
System.
Remarks
DvbTeletextPid
The PID for the input source DVB Teletext data to this output.
public string DvbTeletextPid { get; set; }
Property Value
System.
Remarks
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
Ebif
If set to passthrough, passes any EBIF data from the input source to this output.
public string Ebif { get; set; }
Property Value
System.
Remarks
EbpAudioInterval
When videoAndFixedIntervals is selected, audio EBP markers are added to partitions 3 and 4.
public string EbpAudioInterval { get; set; }
Property Value
System.
Remarks
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.
EbpLookaheadMs
When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video.
public Nullable<double> EbpLookaheadMs { get; set; }
Property Value
System.
Remarks
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.
EbpPlacement
Controls placement of EBP on audio PIDs.
public string EbpPlacement { get; set; }
Property Value
System.
Remarks
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.
EcmPid
This field is unused and deprecated.
public string EcmPid { get; set; }
Property Value
System.
Remarks
EsRateInPes
Includes or excludes the ES Rate field in the PES header.
public string EsRateInPes { get; set; }
Property Value
System.
Remarks
EtvPlatformPid
The PID for the input source ETV Platform data to this output.
public string EtvPlatformPid { get; set; }
Property Value
System.
Remarks
You can enter it as a decimal or hexadecimal value. Valid values are 32 (or 0x20) to 8182 (or 0x1ff6).
EtvSignalPid
The PID for input source ETV Signal data to this output.
public string EtvSignalPid { get; set; }
Property Value
System.
Remarks
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
FragmentTime
The length in seconds of each fragment.
public Nullable<double> FragmentTime { get; set; }
Property Value
System.
Remarks
This is used only with EBP markers.
Klv
If set to passthrough, passes any KLV data from the input source to this output.
public string Klv { get; set; }
Property Value
System.
Remarks
KlvDataPids
The PID for the input source KLV data to this output.
public string KlvDataPids { get; set; }
Property Value
System.
Remarks
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).
NielsenId3Behavior
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.
public string NielsenId3Behavior { get; set; }
Property Value
System.
Remarks
NullPacketBitrate
The value, in bits per second, of extra null packets to insert into the transport stream.
public Nullable<double> NullPacketBitrate { get; set; }
Property Value
System.
Remarks
This can be used if a downstream encryption system requires periodic null packets.
PatInterval
The number of milliseconds between instances of this table in the output transport stream.
public Nullable<double> PatInterval { get; set; }
Property Value
System.
Remarks
PcrControl
When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header.
public string PcrControl { get; set; }
Property Value
System.
Remarks
This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.
PcrPeriod
The maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.
public Nullable<double> PcrPeriod { get; set; }
Property Value
System.
Remarks
PcrPid
The PID of the Program Clock Reference (PCR) in the transport stream.
public string PcrPid { get; set; }
Property Value
System.
Remarks
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).
PmtInterval
The number of milliseconds between instances of this table in the output transport stream.
public Nullable<double> PmtInterval { get; set; }
Property Value
System.
Remarks
PmtPid
The PID for the Program Map Table (PMT) in the transport stream.
public string PmtPid { get; set; }
Property Value
System.
Remarks
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
ProgramNum
The value of the program number field in the Program Map Table (PMT).
public Nullable<double> ProgramNum { get; set; }
Property Value
System.
Remarks
RateMode
When VBR, does not insert null packets into the transport stream to fill the specified bitrate.
public string RateMode { get; set; }
Property Value
System.
Remarks
The bitrate setting acts as the maximum bitrate when VBR is set.
Scte27Pids
The PID for the input source SCTE-27 data to this output.
public string Scte27Pids { get; set; }
Property Value
System.
Remarks
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).
Scte35Control
Optionally passes SCTE-35 signals from the input source to this output.
public string Scte35Control { get; set; }
Property Value
System.
Remarks
Scte35Pid
The PID of the SCTE-35 stream in the transport stream.
public string Scte35Pid { get; set; }
Property Value
System.
Remarks
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
Scte35PrerollPullupMilliseconds
public Nullable<double> Scte35PrerollPullupMilliseconds { get; set; }
Property Value
System.
Remarks
SegmentationMarkers
Inserts segmentation markers at each segmentationTime period.
public string SegmentationMarkers { get; set; }
Property Value
System.
Remarks
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.
SegmentationStyle
The segmentation style parameter controls how segmentation markers are inserted into the transport stream.
public string SegmentationStyle { get; set; }
Property Value
System.
Remarks
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.
SegmentationTime
The length, in seconds, of each segment.
public Nullable<double> SegmentationTime { get; set; }
Property Value
System.
Remarks
This is required unless markers is set to None_.
TimedMetadataBehavior
When set to passthrough, timed metadata is passed through from input to output.
public string TimedMetadataBehavior { get; set; }
Property Value
System.
Remarks
TimedMetadataPid
The PID of the timed metadata stream in the transport stream.
public string TimedMetadataPid { get; set; }
Property Value
System.
Remarks
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
TransportStreamId
The value of the transport stream ID field in the Program Map Table (PMT).
public Nullable<double> TransportStreamId { get; set; }
Property Value
System.
Remarks
VideoPid
The PID of the elementary video stream in the transport stream.
public string VideoPid { get; set; }
Property Value
System.
Remarks
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).