Interface M2tsSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<M2tsSettings.Builder,
,M2tsSettings> SdkBuilder<M2tsSettings.Builder,
,M2tsSettings> SdkPojo
- Enclosing class:
M2tsSettings
public static interface M2tsSettings.Builder
extends SdkPojo, CopyableBuilder<M2tsSettings.Builder,M2tsSettings>
-
Method Summary
Modifier and TypeMethodDescriptionaudioBufferModel
(String audioBufferModel) Selects between the DVB and ATSC buffer models for Dolby Digital audio.audioBufferModel
(M2tsAudioBufferModel audioBufferModel) Selects between the DVB and ATSC buffer models for Dolby Digital audio.audioDuration
(String audioDuration) Specify this setting only when your output will be consumed by a downstream repackaging workflow that is sensitive to very small duration differences between video and audio.audioDuration
(M2tsAudioDuration audioDuration) Specify this setting only when your output will be consumed by a downstream repackaging workflow that is sensitive to very small duration differences between video and audio.audioFramesPerPes
(Integer audioFramesPerPes) The number of audio frames to insert for each PES packet.Specify the packet identifiers (PIDs) for any elementary audio streams you include in this output.audioPids
(Collection<Integer> audioPids) Specify the packet identifiers (PIDs) for any elementary audio streams you include in this output.Specify the output bitrate of the transport stream in bits per second.bufferModel
(String bufferModel) Controls what buffer model to use for accurate interleaving.bufferModel
(M2tsBufferModel bufferModel) Controls what buffer model to use for accurate interleaving.dataPTSControl
(String dataPTSControl) If you select ALIGN_TO_VIDEO, MediaConvert writes captions and data packets with Presentation Timestamp (PTS) values greater than or equal to the first video packet PTS (MediaConvert drops captions and data packets with lesser PTS values).dataPTSControl
(M2tsDataPtsControl dataPTSControl) If you select ALIGN_TO_VIDEO, MediaConvert writes captions and data packets with Presentation Timestamp (PTS) values greater than or equal to the first video packet PTS (MediaConvert drops captions and data packets with lesser PTS values).default M2tsSettings.Builder
dvbNitSettings
(Consumer<DvbNitSettings.Builder> dvbNitSettings) Use these settings to insert a DVB Network Information Table (NIT) in the transport stream of this output.dvbNitSettings
(DvbNitSettings dvbNitSettings) Use these settings to insert a DVB Network Information Table (NIT) in the transport stream of this output.default M2tsSettings.Builder
dvbSdtSettings
(Consumer<DvbSdtSettings.Builder> dvbSdtSettings) Use these settings to insert a DVB Service Description Table (SDT) in the transport stream of this output.dvbSdtSettings
(DvbSdtSettings dvbSdtSettings) Use these settings to insert a DVB Service Description Table (SDT) in the transport stream of this output.dvbSubPids
(Integer... dvbSubPids) Specify the packet identifiers (PIDs) for DVB subtitle data included in this output.dvbSubPids
(Collection<Integer> dvbSubPids) Specify the packet identifiers (PIDs) for DVB subtitle data included in this output.default M2tsSettings.Builder
dvbTdtSettings
(Consumer<DvbTdtSettings.Builder> dvbTdtSettings) Use these settings to insert a DVB Time and Date Table (TDT) in the transport stream of this output.dvbTdtSettings
(DvbTdtSettings dvbTdtSettings) Use these settings to insert a DVB Time and Date Table (TDT) in the transport stream of this output.dvbTeletextPid
(Integer dvbTeletextPid) Specify the packet identifier (PID) for DVB teletext data you include in this output.ebpAudioInterval
(String ebpAudioInterval) When set to VIDEO_AND_FIXED_INTERVALS, audio EBP markers will be added to partitions 3 and 4.ebpAudioInterval
(M2tsEbpAudioInterval ebpAudioInterval) When set to VIDEO_AND_FIXED_INTERVALS, audio EBP markers will be added to partitions 3 and 4.ebpPlacement
(String ebpPlacement) Selects which PIDs to place EBP markers on.ebpPlacement
(M2tsEbpPlacement ebpPlacement) Selects which PIDs to place EBP markers on.esRateInPes
(String esRateInPes) Controls whether to include the ES Rate field in the PES header.esRateInPes
(M2tsEsRateInPes esRateInPes) Controls whether to include the ES Rate field in the PES header.forceTsVideoEbpOrder
(String forceTsVideoEbpOrder) Keep the default value unless you know that your audio EBP markers are incorrectly appearing before your video EBP markers.forceTsVideoEbpOrder
(M2tsForceTsVideoEbpOrder forceTsVideoEbpOrder) Keep the default value unless you know that your audio EBP markers are incorrectly appearing before your video EBP markers.fragmentTime
(Double fragmentTime) The length, in seconds, of each fragment.klvMetadata
(String klvMetadata) To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough.klvMetadata
(M2tsKlvMetadata klvMetadata) To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough.maxPcrInterval
(Integer maxPcrInterval) Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.minEbpInterval
(Integer minEbpInterval) When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video.nielsenId3
(String nielsenId3) If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.nielsenId3
(M2tsNielsenId3 nielsenId3) If INSERT, 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
(Double nullPacketBitrate) Value in bits per second of extra null packets to insert into the transport stream.patInterval
(Integer patInterval) The number of milliseconds between instances of this table in the output transport stream.pcrControl
(String pcrControl) When set to PCR_EVERY_PES_PACKET, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header.pcrControl
(M2tsPcrControl pcrControl) When set to PCR_EVERY_PES_PACKET, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header.Specify the packet identifier (PID) for the program clock reference (PCR) in this output.pmtInterval
(Integer pmtInterval) Specify the number of milliseconds between instances of the program map table (PMT) in the output transport stream.Specify the packet identifier (PID) for the program map table (PMT) itself.preventBufferUnderflow
(String preventBufferUnderflow) Specify whether MediaConvert automatically attempts to prevent decoder buffer underflows in your transport stream output.preventBufferUnderflow
(M2tsPreventBufferUnderflow preventBufferUnderflow) Specify whether MediaConvert automatically attempts to prevent decoder buffer underflows in your transport stream output.privateMetadataPid
(Integer privateMetadataPid) Specify the packet identifier (PID) of the private metadata stream.programNumber
(Integer programNumber) Use Program number to specify the program number used in the program map table (PMT) for this output.Manually specify the initial PTS offset, in seconds, when you set PTS offset to Seconds.ptsOffsetMode
(String ptsOffsetMode) Specify the initial presentation timestamp (PTS) offset for your transport stream output.ptsOffsetMode
(TsPtsOffset ptsOffsetMode) Specify the initial presentation timestamp (PTS) offset for your transport stream output.When set to CBR, inserts null packets into transport stream to fill specified bitrate.rateMode
(M2tsRateMode rateMode) When set to CBR, inserts null packets into transport stream to fill specified bitrate.default M2tsSettings.Builder
scte35Esam
(Consumer<M2tsScte35Esam.Builder> scte35Esam) Include this in your job settings to put SCTE-35 markers in your HLS and transport stream outputs at the insertion points that you specify in an ESAM XML document.scte35Esam
(M2tsScte35Esam scte35Esam) Include this in your job settings to put SCTE-35 markers in your HLS and transport stream outputs at the insertion points that you specify in an ESAM XML document.Specify the packet identifier (PID) of the SCTE-35 stream in the transport stream.scte35Source
(String scte35Source) For SCTE-35 markers from your input-- Choose Passthrough if you want SCTE-35 markers that appear in your input to also appear in this output.scte35Source
(M2tsScte35Source scte35Source) For SCTE-35 markers from your input-- Choose Passthrough if you want SCTE-35 markers that appear in your input to also appear in this output.segmentationMarkers
(String segmentationMarkers) Inserts segmentation markers at each segmentation_time period.segmentationMarkers
(M2tsSegmentationMarkers segmentationMarkers) Inserts segmentation markers at each segmentation_time period.segmentationStyle
(String segmentationStyle) The segmentation style parameter controls how segmentation markers are inserted into the transport stream.segmentationStyle
(M2tsSegmentationStyle segmentationStyle) The segmentation style parameter controls how segmentation markers are inserted into the transport stream.segmentationTime
(Double segmentationTime) Specify the length, in seconds, of each segment.timedMetadataPid
(Integer timedMetadataPid) Packet Identifier (PID) of the ID3 metadata stream in the transport stream.transportStreamId
(Integer transportStreamId) Specify the ID for the transport stream itself in the program map table for this output.Specify the packet identifier (PID) of the elementary video stream in the transport stream.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
audioBufferModel
Selects between the DVB and ATSC buffer models for Dolby Digital audio.- Parameters:
audioBufferModel
- Selects between the DVB and ATSC buffer models for Dolby Digital audio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
audioBufferModel
Selects between the DVB and ATSC buffer models for Dolby Digital audio.- Parameters:
audioBufferModel
- Selects between the DVB and ATSC buffer models for Dolby Digital audio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
audioDuration
Specify this setting only when your output will be consumed by a downstream repackaging workflow that is sensitive to very small duration differences between video and audio. For this situation, choose Match video duration. In all other cases, keep the default value, Default codec duration. When you choose Match video duration, MediaConvert pads the output audio streams with silence or trims them to ensure that the total duration of each audio stream is at least as long as the total duration of the video stream. After padding or trimming, the audio stream duration is no more than one frame longer than the video stream. MediaConvert applies audio padding or trimming only to the end of the last segment of the output. For unsegmented outputs, MediaConvert adds padding only to the end of the file. When you keep the default value, any minor discrepancies between audio and video duration will depend on your output audio codec.- Parameters:
audioDuration
- Specify this setting only when your output will be consumed by a downstream repackaging workflow that is sensitive to very small duration differences between video and audio. For this situation, choose Match video duration. In all other cases, keep the default value, Default codec duration. When you choose Match video duration, MediaConvert pads the output audio streams with silence or trims them to ensure that the total duration of each audio stream is at least as long as the total duration of the video stream. After padding or trimming, the audio stream duration is no more than one frame longer than the video stream. MediaConvert applies audio padding or trimming only to the end of the last segment of the output. For unsegmented outputs, MediaConvert adds padding only to the end of the file. When you keep the default value, any minor discrepancies between audio and video duration will depend on your output audio codec.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
audioDuration
Specify this setting only when your output will be consumed by a downstream repackaging workflow that is sensitive to very small duration differences between video and audio. For this situation, choose Match video duration. In all other cases, keep the default value, Default codec duration. When you choose Match video duration, MediaConvert pads the output audio streams with silence or trims them to ensure that the total duration of each audio stream is at least as long as the total duration of the video stream. After padding or trimming, the audio stream duration is no more than one frame longer than the video stream. MediaConvert applies audio padding or trimming only to the end of the last segment of the output. For unsegmented outputs, MediaConvert adds padding only to the end of the file. When you keep the default value, any minor discrepancies between audio and video duration will depend on your output audio codec.- Parameters:
audioDuration
- Specify this setting only when your output will be consumed by a downstream repackaging workflow that is sensitive to very small duration differences between video and audio. For this situation, choose Match video duration. In all other cases, keep the default value, Default codec duration. When you choose Match video duration, MediaConvert pads the output audio streams with silence or trims them to ensure that the total duration of each audio stream is at least as long as the total duration of the video stream. After padding or trimming, the audio stream duration is no more than one frame longer than the video stream. MediaConvert applies audio padding or trimming only to the end of the last segment of the output. For unsegmented outputs, MediaConvert adds padding only to the end of the file. When you keep the default value, any minor discrepancies between audio and video duration will depend on your output audio codec.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
audioFramesPerPes
The number of audio frames to insert for each PES packet.- Parameters:
audioFramesPerPes
- The number of audio frames to insert for each PES packet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audioPids
Specify the packet identifiers (PIDs) for any elementary audio streams you include in this output. Specify multiple PIDs as a JSON array. Default is the range 482-492.- Parameters:
audioPids
- Specify the packet identifiers (PIDs) for any elementary audio streams you include in this output. Specify multiple PIDs as a JSON array. Default is the range 482-492.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audioPids
Specify the packet identifiers (PIDs) for any elementary audio streams you include in this output. Specify multiple PIDs as a JSON array. Default is the range 482-492.- Parameters:
audioPids
- Specify the packet identifiers (PIDs) for any elementary audio streams you include in this output. Specify multiple PIDs as a JSON array. Default is the range 482-492.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bitrate
Specify the output bitrate of the transport stream in bits per second. Setting to 0 lets the muxer automatically determine the appropriate bitrate. Other common values are 3750000, 7500000, and 15000000.- Parameters:
bitrate
- Specify the output bitrate of the transport stream in bits per second. Setting to 0 lets the muxer automatically determine the appropriate bitrate. Other common values are 3750000, 7500000, and 15000000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bufferModel
Controls what buffer model to use for accurate interleaving. If set to MULTIPLEX, use multiplex buffer model. If set to NONE, this can lead to lower latency, but low-memory devices may not be able to play back the stream without interruptions.- Parameters:
bufferModel
- Controls what buffer model to use for accurate interleaving. If set to MULTIPLEX, use multiplex buffer model. If set to NONE, this can lead to lower latency, but low-memory devices may not be able to play back the stream without interruptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bufferModel
Controls what buffer model to use for accurate interleaving. If set to MULTIPLEX, use multiplex buffer model. If set to NONE, this can lead to lower latency, but low-memory devices may not be able to play back the stream without interruptions.- Parameters:
bufferModel
- Controls what buffer model to use for accurate interleaving. If set to MULTIPLEX, use multiplex buffer model. If set to NONE, this can lead to lower latency, but low-memory devices may not be able to play back the stream without interruptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataPTSControl
If you select ALIGN_TO_VIDEO, MediaConvert writes captions and data packets with Presentation Timestamp (PTS) values greater than or equal to the first video packet PTS (MediaConvert drops captions and data packets with lesser PTS values). Keep the default value to allow all PTS values.- Parameters:
dataPTSControl
- If you select ALIGN_TO_VIDEO, MediaConvert writes captions and data packets with Presentation Timestamp (PTS) values greater than or equal to the first video packet PTS (MediaConvert drops captions and data packets with lesser PTS values). Keep the default value to allow all PTS values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataPTSControl
If you select ALIGN_TO_VIDEO, MediaConvert writes captions and data packets with Presentation Timestamp (PTS) values greater than or equal to the first video packet PTS (MediaConvert drops captions and data packets with lesser PTS values). Keep the default value to allow all PTS values.- Parameters:
dataPTSControl
- If you select ALIGN_TO_VIDEO, MediaConvert writes captions and data packets with Presentation Timestamp (PTS) values greater than or equal to the first video packet PTS (MediaConvert drops captions and data packets with lesser PTS values). Keep the default value to allow all PTS values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dvbNitSettings
Use these settings to insert a DVB Network Information Table (NIT) in the transport stream of this output.- Parameters:
dvbNitSettings
- Use these settings to insert a DVB Network Information Table (NIT) in the transport stream of this output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dvbNitSettings
Use these settings to insert a DVB Network Information Table (NIT) in the transport stream of this output. This is a convenience method that creates an instance of theDvbNitSettings.Builder
avoiding the need to create one manually viaDvbNitSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todvbNitSettings(DvbNitSettings)
.- Parameters:
dvbNitSettings
- a consumer that will call methods onDvbNitSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dvbSdtSettings
Use these settings to insert a DVB Service Description Table (SDT) in the transport stream of this output.- Parameters:
dvbSdtSettings
- Use these settings to insert a DVB Service Description Table (SDT) in the transport stream of this output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dvbSdtSettings
Use these settings to insert a DVB Service Description Table (SDT) in the transport stream of this output. This is a convenience method that creates an instance of theDvbSdtSettings.Builder
avoiding the need to create one manually viaDvbSdtSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todvbSdtSettings(DvbSdtSettings)
.- Parameters:
dvbSdtSettings
- a consumer that will call methods onDvbSdtSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dvbSubPids
Specify the packet identifiers (PIDs) for DVB subtitle data included in this output. Specify multiple PIDs as a JSON array. Default is the range 460-479.- Parameters:
dvbSubPids
- Specify the packet identifiers (PIDs) for DVB subtitle data included in this output. Specify multiple PIDs as a JSON array. Default is the range 460-479.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dvbSubPids
Specify the packet identifiers (PIDs) for DVB subtitle data included in this output. Specify multiple PIDs as a JSON array. Default is the range 460-479.- Parameters:
dvbSubPids
- Specify the packet identifiers (PIDs) for DVB subtitle data included in this output. Specify multiple PIDs as a JSON array. Default is the range 460-479.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dvbTdtSettings
Use these settings to insert a DVB Time and Date Table (TDT) in the transport stream of this output.- Parameters:
dvbTdtSettings
- Use these settings to insert a DVB Time and Date Table (TDT) in the transport stream of this output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dvbTdtSettings
Use these settings to insert a DVB Time and Date Table (TDT) in the transport stream of this output. This is a convenience method that creates an instance of theDvbTdtSettings.Builder
avoiding the need to create one manually viaDvbTdtSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todvbTdtSettings(DvbTdtSettings)
.- Parameters:
dvbTdtSettings
- a consumer that will call methods onDvbTdtSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dvbTeletextPid
Specify the packet identifier (PID) for DVB teletext data you include in this output. Default is 499.- Parameters:
dvbTeletextPid
- Specify the packet identifier (PID) for DVB teletext data you include in this output. Default is 499.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebpAudioInterval
When set to VIDEO_AND_FIXED_INTERVALS, 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. When set to VIDEO_INTERVAL, these additional markers will not be inserted. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY).- Parameters:
ebpAudioInterval
- When set to VIDEO_AND_FIXED_INTERVALS, 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. When set to VIDEO_INTERVAL, these additional markers will not be inserted. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ebpAudioInterval
When set to VIDEO_AND_FIXED_INTERVALS, 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. When set to VIDEO_INTERVAL, these additional markers will not be inserted. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY).- Parameters:
ebpAudioInterval
- When set to VIDEO_AND_FIXED_INTERVALS, 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. When set to VIDEO_INTERVAL, these additional markers will not be inserted. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ebpPlacement
Selects which PIDs to place EBP markers on. They can either be placed only on the video PID, or on both the video PID and all audio PIDs. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY).- Parameters:
ebpPlacement
- Selects which PIDs to place EBP markers on. They can either be placed only on the video PID, or on both the video PID and all audio PIDs. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ebpPlacement
Selects which PIDs to place EBP markers on. They can either be placed only on the video PID, or on both the video PID and all audio PIDs. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY).- Parameters:
ebpPlacement
- Selects which PIDs to place EBP markers on. They can either be placed only on the video PID, or on both the video PID and all audio PIDs. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
esRateInPes
Controls whether to include the ES Rate field in the PES header.- Parameters:
esRateInPes
- Controls whether to include the ES Rate field in the PES header.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
esRateInPes
Controls whether to include the ES Rate field in the PES header.- Parameters:
esRateInPes
- Controls whether to include the ES Rate field in the PES header.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
forceTsVideoEbpOrder
Keep the default value unless you know that your audio EBP markers are incorrectly appearing before your video EBP markers. To correct this problem, set this value to Force.- Parameters:
forceTsVideoEbpOrder
- Keep the default value unless you know that your audio EBP markers are incorrectly appearing before your video EBP markers. To correct this problem, set this value to Force.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
forceTsVideoEbpOrder
Keep the default value unless you know that your audio EBP markers are incorrectly appearing before your video EBP markers. To correct this problem, set this value to Force.- Parameters:
forceTsVideoEbpOrder
- Keep the default value unless you know that your audio EBP markers are incorrectly appearing before your video EBP markers. To correct this problem, set this value to Force.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fragmentTime
The length, in seconds, of each fragment. Only used with EBP markers.- Parameters:
fragmentTime
- The length, in seconds, of each fragment. Only used with EBP markers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
klvMetadata
To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and passes it through to the output transport stream. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank.- Parameters:
klvMetadata
- To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and passes it through to the output transport stream. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
klvMetadata
To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and passes it through to the output transport stream. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank.- Parameters:
klvMetadata
- To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and passes it through to the output transport stream. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxPcrInterval
Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.- Parameters:
maxPcrInterval
- Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minEbpInterval
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.- Parameters:
minEbpInterval
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
nielsenId3
If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.- Parameters:
nielsenId3
- If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nielsenId3
If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.- Parameters:
nielsenId3
- If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nullPacketBitrate
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.- Parameters:
nullPacketBitrate
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
patInterval
The number of milliseconds between instances of this table in the output transport stream.- Parameters:
patInterval
- The number of milliseconds between instances of this table in the output transport stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pcrControl
When set to PCR_EVERY_PES_PACKET, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This is effective only when the PCR PID is the same as the video or audio elementary stream.- Parameters:
pcrControl
- When set to PCR_EVERY_PES_PACKET, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This is effective only when the PCR PID is the same as the video or audio elementary stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pcrControl
When set to PCR_EVERY_PES_PACKET, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This is effective only when the PCR PID is the same as the video or audio elementary stream.- Parameters:
pcrControl
- When set to PCR_EVERY_PES_PACKET, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This is effective only when the PCR PID is the same as the video or audio elementary stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pcrPid
Specify the packet identifier (PID) for the program clock reference (PCR) in this output. If you do not specify a value, the service will use the value for Video PID.- Parameters:
pcrPid
- Specify the packet identifier (PID) for the program clock reference (PCR) in this output. If you do not specify a value, the service will use the value for Video PID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pmtInterval
Specify the number of milliseconds between instances of the program map table (PMT) in the output transport stream.- Parameters:
pmtInterval
- Specify the number of milliseconds between instances of the program map table (PMT) in the output transport stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pmtPid
Specify the packet identifier (PID) for the program map table (PMT) itself. Default is 480.- Parameters:
pmtPid
- Specify the packet identifier (PID) for the program map table (PMT) itself. Default is 480.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preventBufferUnderflow
Specify whether MediaConvert automatically attempts to prevent decoder buffer underflows in your transport stream output. Use if you are seeing decoder buffer underflows in your output and are unable to increase your transport stream's bitrate. For most workflows: We recommend that you keep the default value, Disabled. To prevent decoder buffer underflows in your output, when possible: Choose Enabled. Note that if MediaConvert prevents a decoder buffer underflow in your output, output video quality is reduced and your job will take longer to complete.- Parameters:
preventBufferUnderflow
- Specify whether MediaConvert automatically attempts to prevent decoder buffer underflows in your transport stream output. Use if you are seeing decoder buffer underflows in your output and are unable to increase your transport stream's bitrate. For most workflows: We recommend that you keep the default value, Disabled. To prevent decoder buffer underflows in your output, when possible: Choose Enabled. Note that if MediaConvert prevents a decoder buffer underflow in your output, output video quality is reduced and your job will take longer to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
preventBufferUnderflow
Specify whether MediaConvert automatically attempts to prevent decoder buffer underflows in your transport stream output. Use if you are seeing decoder buffer underflows in your output and are unable to increase your transport stream's bitrate. For most workflows: We recommend that you keep the default value, Disabled. To prevent decoder buffer underflows in your output, when possible: Choose Enabled. Note that if MediaConvert prevents a decoder buffer underflow in your output, output video quality is reduced and your job will take longer to complete.- Parameters:
preventBufferUnderflow
- Specify whether MediaConvert automatically attempts to prevent decoder buffer underflows in your transport stream output. Use if you are seeing decoder buffer underflows in your output and are unable to increase your transport stream's bitrate. For most workflows: We recommend that you keep the default value, Disabled. To prevent decoder buffer underflows in your output, when possible: Choose Enabled. Note that if MediaConvert prevents a decoder buffer underflow in your output, output video quality is reduced and your job will take longer to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
privateMetadataPid
Specify the packet identifier (PID) of the private metadata stream. Default is 503.- Parameters:
privateMetadataPid
- Specify the packet identifier (PID) of the private metadata stream. Default is 503.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programNumber
Use Program number to specify the program number used in the program map table (PMT) for this output. Default is 1. Program numbers and program map tables are parts of MPEG-2 transport stream containers, used for organizing data.- Parameters:
programNumber
- Use Program number to specify the program number used in the program map table (PMT) for this output. Default is 1. Program numbers and program map tables are parts of MPEG-2 transport stream containers, used for organizing data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ptsOffset
Manually specify the initial PTS offset, in seconds, when you set PTS offset to Seconds. Enter an integer from 0 to 3600. Leave blank to keep the default value 2.- Parameters:
ptsOffset
- Manually specify the initial PTS offset, in seconds, when you set PTS offset to Seconds. Enter an integer from 0 to 3600. Leave blank to keep the default value 2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ptsOffsetMode
Specify the initial presentation timestamp (PTS) offset for your transport stream output. To let MediaConvert automatically determine the initial PTS offset: Keep the default value, Auto. We recommend that you choose Auto for the widest player compatibility. The initial PTS will be at least two seconds and vary depending on your output's bitrate, HRD buffer size and HRD buffer initial fill percentage. To manually specify an initial PTS offset: Choose Seconds. Then specify the number of seconds with PTS offset.- Parameters:
ptsOffsetMode
- Specify the initial presentation timestamp (PTS) offset for your transport stream output. To let MediaConvert automatically determine the initial PTS offset: Keep the default value, Auto. We recommend that you choose Auto for the widest player compatibility. The initial PTS will be at least two seconds and vary depending on your output's bitrate, HRD buffer size and HRD buffer initial fill percentage. To manually specify an initial PTS offset: Choose Seconds. Then specify the number of seconds with PTS offset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ptsOffsetMode
Specify the initial presentation timestamp (PTS) offset for your transport stream output. To let MediaConvert automatically determine the initial PTS offset: Keep the default value, Auto. We recommend that you choose Auto for the widest player compatibility. The initial PTS will be at least two seconds and vary depending on your output's bitrate, HRD buffer size and HRD buffer initial fill percentage. To manually specify an initial PTS offset: Choose Seconds. Then specify the number of seconds with PTS offset.- Parameters:
ptsOffsetMode
- Specify the initial presentation timestamp (PTS) offset for your transport stream output. To let MediaConvert automatically determine the initial PTS offset: Keep the default value, Auto. We recommend that you choose Auto for the widest player compatibility. The initial PTS will be at least two seconds and vary depending on your output's bitrate, HRD buffer size and HRD buffer initial fill percentage. To manually specify an initial PTS offset: Choose Seconds. Then specify the number of seconds with PTS offset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rateMode
When set to CBR, inserts null packets into transport stream to fill specified bitrate. When set to VBR, the bitrate setting acts as the maximum bitrate, but the output will not be padded up to that bitrate.- Parameters:
rateMode
- When set to CBR, inserts null packets into transport stream to fill specified bitrate. When set to VBR, the bitrate setting acts as the maximum bitrate, but the output will not be padded up to that bitrate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rateMode
When set to CBR, inserts null packets into transport stream to fill specified bitrate. When set to VBR, the bitrate setting acts as the maximum bitrate, but the output will not be padded up to that bitrate.- Parameters:
rateMode
- When set to CBR, inserts null packets into transport stream to fill specified bitrate. When set to VBR, the bitrate setting acts as the maximum bitrate, but the output will not be padded up to that bitrate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scte35Esam
Include this in your job settings to put SCTE-35 markers in your HLS and transport stream outputs at the insertion points that you specify in an ESAM XML document. Provide the document in the setting SCC XML.- Parameters:
scte35Esam
- Include this in your job settings to put SCTE-35 markers in your HLS and transport stream outputs at the insertion points that you specify in an ESAM XML document. Provide the document in the setting SCC XML.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scte35Esam
Include this in your job settings to put SCTE-35 markers in your HLS and transport stream outputs at the insertion points that you specify in an ESAM XML document. Provide the document in the setting SCC XML. This is a convenience method that creates an instance of theM2tsScte35Esam.Builder
avoiding the need to create one manually viaM2tsScte35Esam.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscte35Esam(M2tsScte35Esam)
.- Parameters:
scte35Esam
- a consumer that will call methods onM2tsScte35Esam.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scte35Pid
Specify the packet identifier (PID) of the SCTE-35 stream in the transport stream.- Parameters:
scte35Pid
- Specify the packet identifier (PID) of the SCTE-35 stream in the transport stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scte35Source
For SCTE-35 markers from your input-- Choose Passthrough if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None if you don't want SCTE-35 markers in this output. For SCTE-35 markers from an ESAM XML document-- Choose None. Also provide the ESAM XML as a string in the setting Signal processing notification XML. Also enable ESAM SCTE-35 (include the property scte35Esam).- Parameters:
scte35Source
- For SCTE-35 markers from your input-- Choose Passthrough if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None if you don't want SCTE-35 markers in this output. For SCTE-35 markers from an ESAM XML document-- Choose None. Also provide the ESAM XML as a string in the setting Signal processing notification XML. Also enable ESAM SCTE-35 (include the property scte35Esam).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scte35Source
For SCTE-35 markers from your input-- Choose Passthrough if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None if you don't want SCTE-35 markers in this output. For SCTE-35 markers from an ESAM XML document-- Choose None. Also provide the ESAM XML as a string in the setting Signal processing notification XML. Also enable ESAM SCTE-35 (include the property scte35Esam).- Parameters:
scte35Source
- For SCTE-35 markers from your input-- Choose Passthrough if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None if you don't want SCTE-35 markers in this output. For SCTE-35 markers from an ESAM XML document-- Choose None. Also provide the ESAM XML as a string in the setting Signal processing notification XML. Also enable ESAM SCTE-35 (include the property scte35Esam).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segmentationMarkers
Inserts segmentation markers at each segmentation_time period. rai_segstart sets the Random Access Indicator bit in the adaptation field. rai_adapt sets the RAI bit and adds the current timecode in the private data bytes. psi_segstart 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. ebp_legacy adds Encoder Boundary Point information to the adaptation field using a legacy proprietary format.- Parameters:
segmentationMarkers
- Inserts segmentation markers at each segmentation_time period. rai_segstart sets the Random Access Indicator bit in the adaptation field. rai_adapt sets the RAI bit and adds the current timecode in the private data bytes. psi_segstart 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. ebp_legacy adds Encoder Boundary Point information to the adaptation field using a legacy proprietary format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segmentationMarkers
Inserts segmentation markers at each segmentation_time period. rai_segstart sets the Random Access Indicator bit in the adaptation field. rai_adapt sets the RAI bit and adds the current timecode in the private data bytes. psi_segstart 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. ebp_legacy adds Encoder Boundary Point information to the adaptation field using a legacy proprietary format.- Parameters:
segmentationMarkers
- Inserts segmentation markers at each segmentation_time period. rai_segstart sets the Random Access Indicator bit in the adaptation field. rai_adapt sets the RAI bit and adds the current timecode in the private data bytes. psi_segstart 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. ebp_legacy adds Encoder Boundary Point information to the adaptation field using a legacy proprietary format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segmentationStyle
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 "reset_cadence" 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 of $segmentation_time seconds. When a segmentation style of "maintain_cadence" 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 $segmentation_time seconds. Note that EBP lookahead is a slight exception to this rule.- Parameters:
segmentationStyle
- 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 "reset_cadence" 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 of $segmentation_time seconds. When a segmentation style of "maintain_cadence" 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 $segmentation_time seconds. Note that EBP lookahead is a slight exception to this rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segmentationStyle
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 "reset_cadence" 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 of $segmentation_time seconds. When a segmentation style of "maintain_cadence" 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 $segmentation_time seconds. Note that EBP lookahead is a slight exception to this rule.- Parameters:
segmentationStyle
- 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 "reset_cadence" 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 of $segmentation_time seconds. When a segmentation style of "maintain_cadence" 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 $segmentation_time seconds. Note that EBP lookahead is a slight exception to this rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segmentationTime
Specify the length, in seconds, of each segment. Required unless markers is set to _none_.- Parameters:
segmentationTime
- Specify the length, in seconds, of each segment. Required unless markers is set to _none_.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timedMetadataPid
Packet Identifier (PID) of the ID3 metadata stream in the transport stream.- Parameters:
timedMetadataPid
- Packet Identifier (PID) of the ID3 metadata stream in the transport stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transportStreamId
Specify the ID for the transport stream itself in the program map table for this output. Transport stream IDs and program map tables are parts of MPEG-2 transport stream containers, used for organizing data.- Parameters:
transportStreamId
- Specify the ID for the transport stream itself in the program map table for this output. Transport stream IDs and program map tables are parts of MPEG-2 transport stream containers, used for organizing data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
videoPid
Specify the packet identifier (PID) of the elementary video stream in the transport stream.- Parameters:
videoPid
- Specify the packet identifier (PID) of the elementary video stream in the transport stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-