interface M2tsSettingsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MediaLive.CfnChannel.M2tsSettingsProperty |
Java | software.amazon.awscdk.services.medialive.CfnChannel.M2tsSettingsProperty |
Python | aws_cdk.aws_medialive.CfnChannel.M2tsSettingsProperty |
TypeScript | @aws-cdk/aws-medialive » CfnChannel » M2tsSettingsProperty |
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 * as medialive from '@aws-cdk/aws-medialive';
const m2tsSettingsProperty: medialive.CfnChannel.M2tsSettingsProperty = {
absentInputAudioBehavior: 'absentInputAudioBehavior',
arib: 'arib',
aribCaptionsPid: 'aribCaptionsPid',
aribCaptionsPidControl: 'aribCaptionsPidControl',
audioBufferModel: 'audioBufferModel',
audioFramesPerPes: 123,
audioPids: 'audioPids',
audioStreamType: 'audioStreamType',
bitrate: 123,
bufferModel: 'bufferModel',
ccDescriptor: 'ccDescriptor',
dvbNitSettings: {
networkId: 123,
networkName: 'networkName',
repInterval: 123,
},
dvbSdtSettings: {
outputSdt: 'outputSdt',
repInterval: 123,
serviceName: 'serviceName',
serviceProviderName: 'serviceProviderName',
},
dvbSubPids: 'dvbSubPids',
dvbTdtSettings: {
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',
};
Properties
Name | Type | Description |
---|---|---|
absent | string | 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? | string | When set to enabled, uses ARIB-compliant field muxing and removes video descriptor. |
arib | string | The PID for ARIB Captions in the transport stream. |
arib | string | If set to auto, The PID number used for ARIB Captions will be auto-selected from unused PIDs. |
audio | string | When set to dvb, uses the DVB buffer model for Dolby Digital audio. |
audio | number | The number of audio frames to insert for each PES packet. |
audio | string | The PID of the elementary audio streams in the transport stream. |
audio | string | When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 for EAC3. |
bitrate? | number | The output bitrate of the transport stream in bits per second. |
buffer | string | If set to multiplex, uses the multiplex buffer model for accurate interleaving. |
cc | string | When set to enabled, generates captionServiceDescriptor in PMT. |
dvb | IResolvable | Dvb | Inserts a DVB Network Information Table (NIT) at the specified table repetition interval. |
dvb | IResolvable | Dvb | Inserts a DVB Service Description Table (SDT) at the specified table repetition interval. |
dvb | string | The PID for the input source DVB Subtitle data to this output. |
dvb | IResolvable | Dvb | Inserts DVB Time and Date Table (TDT) at the specified table repetition interval. |
dvb | string | The PID for the input source DVB Teletext data to this output. |
ebif? | string | If set to passthrough, passes any EBIF data from the input source to this output. |
ebp | string | When videoAndFixedIntervals is selected, audio EBP markers are added to partitions 3 and 4. |
ebp | number | 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 | string | Controls placement of EBP on audio PIDs. |
ecm | string | This field is unused and deprecated. |
es | string | Includes or excludes the ES Rate field in the PES header. |
etv | string | The PID for the input source ETV Platform data to this output. |
etv | string | The PID for input source ETV Signal data to this output. |
fragment | number | The length in seconds of each fragment. |
klv? | string | If set to passthrough, passes any KLV data from the input source to this output. |
klv | string | The PID for the input source KLV data to this output. |
nielsen | 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 | number | The value, in bits per second, of extra null packets to insert into the transport stream. |
pat | number | The number of milliseconds between instances of this table in the output transport stream. |
pcr | string | When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. |
pcr | number | The maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream. |
pcr | string | The PID of the Program Clock Reference (PCR) in the transport stream. |
pmt | number | The number of milliseconds between instances of this table in the output transport stream. |
pmt | string | The PID for the Program Map Table (PMT) in the transport stream. |
program | number | The value of the program number field in the Program Map Table (PMT). |
rate | string | When VBR, does not insert null packets into the transport stream to fill the specified bitrate. |
scte27 | string | The PID for the input source SCTE-27 data to this output. |
scte35 | string | Optionally passes SCTE-35 signals from the input source to this output. |
scte35 | string | The PID of the SCTE-35 stream in the transport stream. |
scte35 | number | CfnChannel.M2tsSettingsProperty.Scte35PrerollPullupMilliseconds . |
segmentation | string | Inserts segmentation markers at each segmentationTime period. |
segmentation | string | The segmentation style parameter controls how segmentation markers are inserted into the transport stream. |
segmentation | number | The length, in seconds, of each segment. |
timed | string | When set to passthrough, timed metadata is passed through from input to output. |
timed | string | The PID of the timed metadata stream in the transport stream. |
transport | number | The value of the transport stream ID field in the Program Map Table (PMT). |
video | string | The PID of the elementary video stream in the transport stream. |
absentInputAudioBehavior?
Type:
string
(optional)
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.
arib?
Type:
string
(optional)
When set to enabled, uses ARIB-compliant field muxing and removes video descriptor.
aribCaptionsPid?
Type:
string
(optional)
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).
aribCaptionsPidControl?
Type:
string
(optional)
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.
audioBufferModel?
Type:
string
(optional)
When set to dvb, uses the DVB buffer model for Dolby Digital audio.
When set to atsc, the ATSC model is used.
audioFramesPerPes?
Type:
number
(optional)
The number of audio frames to insert for each PES packet.
audioPids?
Type:
string
(optional)
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).
audioStreamType?
Type:
string
(optional)
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?
Type:
number
(optional)
The output bitrate of the transport stream in bits per second.
Setting to 0 lets the muxer automatically determine the appropriate bitrate.
bufferModel?
Type:
string
(optional)
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.
ccDescriptor?
Type:
string
(optional)
When set to enabled, generates captionServiceDescriptor in PMT.
dvbNitSettings?
Type:
IResolvable
|
Dvb
(optional)
Inserts a DVB Network Information Table (NIT) at the specified table repetition interval.
dvbSdtSettings?
Type:
IResolvable
|
Dvb
(optional)
Inserts a DVB Service Description Table (SDT) at the specified table repetition interval.
dvbSubPids?
Type:
string
(optional)
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).
dvbTdtSettings?
Type:
IResolvable
|
Dvb
(optional)
Inserts DVB Time and Date Table (TDT) at the specified table repetition interval.
dvbTeletextPid?
Type:
string
(optional)
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).
ebif?
Type:
string
(optional)
If set to passthrough, passes any EBIF data from the input source to this output.
ebpAudioInterval?
Type:
string
(optional)
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.
ebpLookaheadMs?
Type:
number
(optional)
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.
ebpPlacement?
Type:
string
(optional)
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.
ecmPid?
Type:
string
(optional)
This field is unused and deprecated.
esRateInPes?
Type:
string
(optional)
Includes or excludes the ES Rate field in the PES header.
etvPlatformPid?
Type:
string
(optional)
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).
etvSignalPid?
Type:
string
(optional)
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).
fragmentTime?
Type:
number
(optional)
The length in seconds of each fragment.
This is used only with EBP markers.
klv?
Type:
string
(optional)
If set to passthrough, passes any KLV data from the input source to this output.
klvDataPids?
Type:
string
(optional)
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).
nielsenId3Behavior?
Type:
string
(optional)
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.
nullPacketBitrate?
Type:
number
(optional)
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.
patInterval?
Type:
number
(optional)
The number of milliseconds between instances of this table in the output transport stream.
Valid values are 0, 10..1000.
pcrControl?
Type:
string
(optional)
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.
pcrPeriod?
Type:
number
(optional)
The maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.
pcrPid?
Type:
string
(optional)
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).
pmtInterval?
Type:
number
(optional)
The number of milliseconds between instances of this table in the output transport stream.
Valid values are 0, 10..1000.
pmtPid?
Type:
string
(optional)
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).
programNum?
Type:
number
(optional)
The value of the program number field in the Program Map Table (PMT).
rateMode?
Type:
string
(optional)
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.
scte27Pids?
Type:
string
(optional)
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).
scte35Control?
Type:
string
(optional)
Optionally passes SCTE-35 signals from the input source to this output.
scte35Pid?
Type:
string
(optional)
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).
scte35PrerollPullupMilliseconds?
Type:
number
(optional)
CfnChannel.M2tsSettingsProperty.Scte35PrerollPullupMilliseconds
.
segmentationMarkers?
Type:
string
(optional)
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.
segmentationStyle?
Type:
string
(optional)
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.
segmentationTime?
Type:
number
(optional)
The length, in seconds, of each segment.
This is required unless markers is set to None_.
timedMetadataBehavior?
Type:
string
(optional)
When set to passthrough, timed metadata is passed through from input to output.
timedMetadataPid?
Type:
string
(optional)
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).
transportStreamId?
Type:
number
(optional)
The value of the transport stream ID field in the Program Map Table (PMT).
videoPid?
Type:
string
(optional)
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).