Class M2tsSettings
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<M2tsSettings.Builder,
M2tsSettings>
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal M2tsAudioBufferModel
Selects between the DVB and ATSC buffer models for Dolby Digital audio.final String
Selects between the DVB and ATSC buffer models for Dolby Digital audio.final M2tsAudioDuration
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.final String
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.final Integer
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.final Integer
bitrate()
Specify the output bitrate of the transport stream in bits per second.final M2tsBufferModel
Controls what buffer model to use for accurate interleaving.final String
Controls what buffer model to use for accurate interleaving.static M2tsSettings.Builder
builder()
final M2tsDataPtsControl
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).final String
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).final DvbNitSettings
Use these settings to insert a DVB Network Information Table (NIT) in the transport stream of this output.final DvbSdtSettings
Use these settings to insert a DVB Service Description Table (SDT) in the transport stream of this output.Specify the packet identifiers (PIDs) for DVB subtitle data included in this output.final DvbTdtSettings
Use these settings to insert a DVB Time and Date Table (TDT) in the transport stream of this output.final Integer
Specify the packet identifier (PID) for DVB teletext data you include in this output.final M2tsEbpAudioInterval
When set to VIDEO_AND_FIXED_INTERVALS, audio EBP markers will be added to partitions 3 and 4.final String
When set to VIDEO_AND_FIXED_INTERVALS, audio EBP markers will be added to partitions 3 and 4.final M2tsEbpPlacement
Selects which PIDs to place EBP markers on.final String
Selects which PIDs to place EBP markers on.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final M2tsEsRateInPes
Controls whether to include the ES Rate field in the PES header.final String
Controls whether to include the ES Rate field in the PES header.final M2tsForceTsVideoEbpOrder
Keep the default value unless you know that your audio EBP markers are incorrectly appearing before your video EBP markers.final String
Keep the default value unless you know that your audio EBP markers are incorrectly appearing before your video EBP markers.final Double
The length, in seconds, of each fragment.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
For responses, this returns true if the service returned a value for the AudioPids property.final boolean
For responses, this returns true if the service returned a value for the DvbSubPids property.final int
hashCode()
final M2tsKlvMetadata
To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough.final String
To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough.final Integer
Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.final Integer
When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video.final M2tsNielsenId3
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.final String
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.final Double
Value in bits per second of extra null packets to insert into the transport stream.final Integer
The number of milliseconds between instances of this table in the output transport stream.final M2tsPcrControl
When set to PCR_EVERY_PES_PACKET, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header.final String
When set to PCR_EVERY_PES_PACKET, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header.final Integer
pcrPid()
Specify the packet identifier (PID) for the program clock reference (PCR) in this output.final Integer
Specify the number of milliseconds between instances of the program map table (PMT) in the output transport stream.final Integer
pmtPid()
Specify the packet identifier (PID) for the program map table (PMT) itself.Specify whether MediaConvert automatically attempts to prevent decoder buffer underflows in your transport stream output.final String
Specify whether MediaConvert automatically attempts to prevent decoder buffer underflows in your transport stream output.final Integer
Specify the packet identifier (PID) of the private metadata stream.final Integer
Use Program number to specify the program number used in the program map table (PMT) for this output.final Integer
Manually specify the initial PTS offset, in seconds, when you set PTS offset to Seconds.final TsPtsOffset
Specify the initial presentation timestamp (PTS) offset for your transport stream output.final String
Specify the initial presentation timestamp (PTS) offset for your transport stream output.final M2tsRateMode
rateMode()
When set to CBR, inserts null packets into transport stream to fill specified bitrate.final String
When set to CBR, inserts null packets into transport stream to fill specified bitrate.final M2tsScte35Esam
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.final Integer
Specify the packet identifier (PID) of the SCTE-35 stream in the transport stream.final M2tsScte35Source
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.final String
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.final M2tsSegmentationMarkers
Inserts segmentation markers at each segmentation_time period.final String
Inserts segmentation markers at each segmentation_time period.final M2tsSegmentationStyle
The segmentation style parameter controls how segmentation markers are inserted into the transport stream.final String
The segmentation style parameter controls how segmentation markers are inserted into the transport stream.final Double
Specify the length, in seconds, of each segment.static Class
<? extends M2tsSettings.Builder> final Integer
Packet Identifier (PID) of the ID3 metadata stream in the transport stream.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Integer
Specify the ID for the transport stream itself in the program map table for this output.final Integer
videoPid()
Specify the packet identifier (PID) of the elementary video stream in the transport stream.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
audioBufferModel
Selects between the DVB and ATSC buffer models for Dolby Digital audio.If the service returns an enum value that is not available in the current SDK version,
audioBufferModel
will returnM2tsAudioBufferModel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromaudioBufferModelAsString()
.- Returns:
- Selects between the DVB and ATSC buffer models for Dolby Digital audio.
- See Also:
-
audioBufferModelAsString
Selects between the DVB and ATSC buffer models for Dolby Digital audio.If the service returns an enum value that is not available in the current SDK version,
audioBufferModel
will returnM2tsAudioBufferModel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromaudioBufferModelAsString()
.- Returns:
- Selects between the DVB and ATSC buffer models for Dolby Digital audio.
- 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.If the service returns an enum value that is not available in the current SDK version,
audioDuration
will returnM2tsAudioDuration.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromaudioDurationAsString()
.- Returns:
- 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.
- See Also:
-
audioDurationAsString
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.If the service returns an enum value that is not available in the current SDK version,
audioDuration
will returnM2tsAudioDuration.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromaudioDurationAsString()
.- Returns:
- 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.
- See Also:
-
audioFramesPerPes
The number of audio frames to insert for each PES packet.- Returns:
- The number of audio frames to insert for each PES packet.
-
hasAudioPids
public final boolean hasAudioPids()For responses, this returns true if the service returned a value for the AudioPids property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
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.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAudioPids()
method.- Returns:
- 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.
-
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:
- 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.
-
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.If the service returns an enum value that is not available in the current SDK version,
bufferModel
will returnM2tsBufferModel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frombufferModelAsString()
.- Returns:
- 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.
- See Also:
-
bufferModelAsString
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.If the service returns an enum value that is not available in the current SDK version,
bufferModel
will returnM2tsBufferModel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frombufferModelAsString()
.- Returns:
- 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.
- 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.If the service returns an enum value that is not available in the current SDK version,
dataPTSControl
will returnM2tsDataPtsControl.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdataPTSControlAsString()
.- Returns:
- 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.
- See Also:
-
dataPTSControlAsString
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.If the service returns an enum value that is not available in the current SDK version,
dataPTSControl
will returnM2tsDataPtsControl.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdataPTSControlAsString()
.- Returns:
- 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.
- See Also:
-
dvbNitSettings
Use these settings to insert a DVB Network Information Table (NIT) in the transport stream of this output.- Returns:
- Use these settings to insert a DVB Network Information Table (NIT) in the transport stream of this output.
-
dvbSdtSettings
Use these settings to insert a DVB Service Description Table (SDT) in the transport stream of this output.- Returns:
- Use these settings to insert a DVB Service Description Table (SDT) in the transport stream of this output.
-
hasDvbSubPids
public final boolean hasDvbSubPids()For responses, this returns true if the service returned a value for the DvbSubPids property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
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.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasDvbSubPids()
method.- Returns:
- 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.
-
dvbTdtSettings
Use these settings to insert a DVB Time and Date Table (TDT) in the transport stream of this output.- Returns:
- Use these settings to insert a DVB Time and Date Table (TDT) in the transport stream of this output.
-
dvbTeletextPid
Specify the packet identifier (PID) for DVB teletext data you include in this output. Default is 499.- Returns:
- Specify the packet identifier (PID) for DVB teletext data you include in this output. Default is 499.
-
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).If the service returns an enum value that is not available in the current SDK version,
ebpAudioInterval
will returnM2tsEbpAudioInterval.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromebpAudioIntervalAsString()
.- Returns:
- 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).
- See Also:
-
ebpAudioIntervalAsString
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).If the service returns an enum value that is not available in the current SDK version,
ebpAudioInterval
will returnM2tsEbpAudioInterval.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromebpAudioIntervalAsString()
.- Returns:
- 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).
- 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).If the service returns an enum value that is not available in the current SDK version,
ebpPlacement
will returnM2tsEbpPlacement.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromebpPlacementAsString()
.- Returns:
- 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).
- See Also:
-
ebpPlacementAsString
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).If the service returns an enum value that is not available in the current SDK version,
ebpPlacement
will returnM2tsEbpPlacement.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromebpPlacementAsString()
.- Returns:
- 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).
- See Also:
-
esRateInPes
Controls whether to include the ES Rate field in the PES header.If the service returns an enum value that is not available in the current SDK version,
esRateInPes
will returnM2tsEsRateInPes.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromesRateInPesAsString()
.- Returns:
- Controls whether to include the ES Rate field in the PES header.
- See Also:
-
esRateInPesAsString
Controls whether to include the ES Rate field in the PES header.If the service returns an enum value that is not available in the current SDK version,
esRateInPes
will returnM2tsEsRateInPes.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromesRateInPesAsString()
.- Returns:
- Controls whether to include the ES Rate field in the PES header.
- 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.If the service returns an enum value that is not available in the current SDK version,
forceTsVideoEbpOrder
will returnM2tsForceTsVideoEbpOrder.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromforceTsVideoEbpOrderAsString()
.- Returns:
- 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.
- See Also:
-
forceTsVideoEbpOrderAsString
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.If the service returns an enum value that is not available in the current SDK version,
forceTsVideoEbpOrder
will returnM2tsForceTsVideoEbpOrder.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromforceTsVideoEbpOrderAsString()
.- Returns:
- 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.
- See Also:
-
fragmentTime
The length, in seconds, of each fragment. Only used with EBP markers.- Returns:
- The length, in seconds, of each fragment. Only used with EBP markers.
-
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.If the service returns an enum value that is not available in the current SDK version,
klvMetadata
will returnM2tsKlvMetadata.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromklvMetadataAsString()
.- Returns:
- 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.
- See Also:
-
klvMetadataAsString
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.If the service returns an enum value that is not available in the current SDK version,
klvMetadata
will returnM2tsKlvMetadata.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromklvMetadataAsString()
.- Returns:
- 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.
- See Also:
-
maxPcrInterval
Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.- Returns:
- Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.
-
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:
- 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.
-
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.If the service returns an enum value that is not available in the current SDK version,
nielsenId3
will returnM2tsNielsenId3.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromnielsenId3AsString()
.- Returns:
- 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.
- See Also:
-
nielsenId3AsString
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.If the service returns an enum value that is not available in the current SDK version,
nielsenId3
will returnM2tsNielsenId3.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromnielsenId3AsString()
.- Returns:
- 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.
- 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.- Returns:
- 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
The number of milliseconds between instances of this table in the output transport stream.- Returns:
- The number of milliseconds between instances of this table in the output transport stream.
-
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.If the service returns an enum value that is not available in the current SDK version,
pcrControl
will returnM2tsPcrControl.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frompcrControlAsString()
.- Returns:
- 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.
- See Also:
-
pcrControlAsString
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.If the service returns an enum value that is not available in the current SDK version,
pcrControl
will returnM2tsPcrControl.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frompcrControlAsString()
.- Returns:
- 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.
- 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.- Returns:
- 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.
-
pmtInterval
Specify the number of milliseconds between instances of the program map table (PMT) in the output transport stream.- Returns:
- Specify the number of milliseconds between instances of the program map table (PMT) in the output transport stream.
-
pmtPid
Specify the packet identifier (PID) for the program map table (PMT) itself. Default is 480.- Returns:
- Specify the packet identifier (PID) for the program map table (PMT) itself. Default is 480.
-
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.If the service returns an enum value that is not available in the current SDK version,
preventBufferUnderflow
will returnM2tsPreventBufferUnderflow.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frompreventBufferUnderflowAsString()
.- Returns:
- 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.
- See Also:
-
preventBufferUnderflowAsString
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.If the service returns an enum value that is not available in the current SDK version,
preventBufferUnderflow
will returnM2tsPreventBufferUnderflow.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frompreventBufferUnderflowAsString()
.- Returns:
- 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.
- See Also:
-
privateMetadataPid
Specify the packet identifier (PID) of the private metadata stream. Default is 503.- Returns:
- Specify the packet identifier (PID) of the private metadata stream. Default is 503.
-
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:
- 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.
-
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:
- 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.
-
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.If the service returns an enum value that is not available in the current SDK version,
ptsOffsetMode
will returnTsPtsOffset.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromptsOffsetModeAsString()
.- Returns:
- 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.
- See Also:
-
ptsOffsetModeAsString
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.If the service returns an enum value that is not available in the current SDK version,
ptsOffsetMode
will returnTsPtsOffset.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromptsOffsetModeAsString()
.- Returns:
- 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.
- 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.If the service returns an enum value that is not available in the current SDK version,
rateMode
will returnM2tsRateMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromrateModeAsString()
.- Returns:
- 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.
- See Also:
-
rateModeAsString
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.If the service returns an enum value that is not available in the current SDK version,
rateMode
will returnM2tsRateMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromrateModeAsString()
.- Returns:
- 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.
- 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.- Returns:
- 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.
-
scte35Pid
Specify the packet identifier (PID) of the SCTE-35 stream in the transport stream.- Returns:
- Specify the packet identifier (PID) of the SCTE-35 stream in the transport stream.
-
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).If the service returns an enum value that is not available in the current SDK version,
scte35Source
will returnM2tsScte35Source.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromscte35SourceAsString()
.- Returns:
- 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).
- See Also:
-
scte35SourceAsString
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).If the service returns an enum value that is not available in the current SDK version,
scte35Source
will returnM2tsScte35Source.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromscte35SourceAsString()
.- Returns:
- 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).
- 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.If the service returns an enum value that is not available in the current SDK version,
segmentationMarkers
will returnM2tsSegmentationMarkers.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsegmentationMarkersAsString()
.- Returns:
- 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.
- See Also:
-
segmentationMarkersAsString
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.If the service returns an enum value that is not available in the current SDK version,
segmentationMarkers
will returnM2tsSegmentationMarkers.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsegmentationMarkersAsString()
.- Returns:
- 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.
- 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.If the service returns an enum value that is not available in the current SDK version,
segmentationStyle
will returnM2tsSegmentationStyle.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsegmentationStyleAsString()
.- Returns:
- 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.
- See Also:
-
segmentationStyleAsString
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.If the service returns an enum value that is not available in the current SDK version,
segmentationStyle
will returnM2tsSegmentationStyle.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsegmentationStyleAsString()
.- Returns:
- 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.
- See Also:
-
segmentationTime
Specify the length, in seconds, of each segment. Required unless markers is set to _none_.- Returns:
- Specify the length, in seconds, of each segment. Required unless markers is set to _none_.
-
timedMetadataPid
Packet Identifier (PID) of the ID3 metadata stream in the transport stream.- Returns:
- Packet Identifier (PID) of the ID3 metadata stream in the transport stream.
-
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:
- 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.
-
videoPid
Specify the packet identifier (PID) of the elementary video stream in the transport stream.- Returns:
- Specify the packet identifier (PID) of the elementary video stream in the transport stream.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<M2tsSettings.Builder,
M2tsSettings> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-