M2tsSettingsProperty Struct
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 { aws_medialive as medialive } from 'aws-cdk-lib';
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
absentInputAudioBehaviorstringabsent_input_audio_behaviorstrabsentInputAudioBehaviorStringAbsentInputAudioBehaviorstringAbsentInputAudioBehavior*string#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.
aribCaptionsPidstringarib_captions_pidstraribCaptionsPidStringAribCaptionsPidstringAribCaptionsPid*string#You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
aribCaptionsPidControlstringarib_captions_pid_controlstraribCaptionsPidControlStringAribCaptionsPidControlstringAribCaptionsPidControl*string#If set to useConfigured, ARIB captions will be on the configured PID number.
audioBufferModelstringaudio_buffer_modelstraudioBufferModelStringAudioBufferModelstringAudioBufferModel*string#When set to atsc, the ATSC model is used.
audioFramesPerPesnumberaudio_frames_per_pesint | floataudioFramesPerPesNumberAudioFramesPerPesdoubleAudioFramesPerPes*float64#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).
audioStreamTypestringaudio_stream_typestraudioStreamTypeStringAudioStreamTypestringAudioStreamType*string#When set to dvb, uses stream type = 0x06.
Setting to 0 lets the muxer automatically determine the appropriate bitrate.
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.
dvbNitSettingsIResolvable | CfnChannel.DvbNitSettingsPropertydvb_nit_settingstyping.Union[IResolvable, DvbNitSettingsProperty]dvbNitSettingsIResolvableDvbNitSettingsIResolvableDvbNitSettingsinterface{}#dvbSdtSettingsIResolvable | CfnChannel.DvbSdtSettingsPropertydvb_sdt_settingstyping.Union[IResolvable, DvbSdtSettingsProperty]dvbSdtSettingsIResolvableDvbSdtSettingsIResolvableDvbSdtSettingsinterface{}#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).
dvbTdtSettingsIResolvable | CfnChannel.DvbTdtSettingsPropertydvb_tdt_settingstyping.Union[IResolvable, DvbTdtSettingsProperty]dvbTdtSettingsIResolvableDvbTdtSettingsIResolvableDvbTdtSettingsinterface{}#dvbTeletextPidstringdvb_teletext_pidstrdvbTeletextPidStringDvbTeletextPidstringDvbTeletextPid*string#You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
ebpAudioIntervalstringebp_audio_intervalstrebpAudioIntervalStringEbpAudioIntervalstringEbpAudioInterval*string#notes
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.
ebpLookaheadMsnumberebp_lookahead_msint | floatebpLookaheadMsNumberEbpLookaheadMsdoubleEbpLookaheadMs*float64#notes
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.
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.
etvPlatformPidstringetv_platform_pidstretvPlatformPidStringEtvPlatformPidstringEtvPlatformPid*string#You can enter it as a decimal or hexadecimal value. Valid values are 32 (or 0x20) to 8182 (or 0x1ff6).
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
This is used only with EBP markers.
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).
nielsenId3Behaviorstringnielsen_id3_behaviorstrnielsenId3BehaviorStringNielsenId3BehaviorstringNielsenId3Behavior*string#nullPacketBitratenumbernull_packet_bitrateint | floatnullPacketBitrateNumberNullPacketBitratedoubleNullPacketBitrate*float64#This can be used if a downstream encryption system requires periodic null packets.
Valid values are 0, 10..1000.
This parameter is effective only when the PCR PID is the same as the video or audio elementary 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).
Valid values are 0, 10..1000.
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
The bitrate setting acts as the maximum bitrate when VBR is set.
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).
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
scte35PrerollPullupMillisecondsnumberscte35_preroll_pullup_millisecondsint | floatscte35PrerollPullupMillisecondsNumberScte35PrerollPullupMillisecondsdoubleScte35PrerollPullupMilliseconds*float64#segmentationMarkersstringsegmentation_markersstrsegmentationMarkersStringSegmentationMarkersstringSegmentationMarkers*string#notes
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.
segmentationStylestringsegmentation_stylestrsegmentationStyleStringSegmentationStylestringSegmentationStyle*string#notes
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.
segmentationTimenumbersegmentation_timeint | floatsegmentationTimeNumberSegmentationTimedoubleSegmentationTime*float64#This is required unless markers is set to None_.
timedMetadataBehaviorstringtimed_metadata_behaviorstrtimedMetadataBehaviorStringTimedMetadataBehaviorstringTimedMetadataBehavior*string#timedMetadataPidstringtimed_metadata_pidstrtimedMetadataPidStringTimedMetadataPidstringTimedMetadataPid*string#You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
transportStreamIdnumbertransport_stream_idint | floattransportStreamIdNumberTransportStreamIddoubleTransportStreamId*float64#You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).