Interface M3u8Settings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<M3u8Settings.Builder,
,M3u8Settings> SdkBuilder<M3u8Settings.Builder,
,M3u8Settings> SdkPojo
- Enclosing class:
M3u8Settings
public static interface M3u8Settings.Builder
extends SdkPojo, CopyableBuilder<M3u8Settings.Builder,M3u8Settings>
-
Method Summary
Modifier and TypeMethodDescriptionaudioDuration
(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
(M3u8AudioDuration 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.Packet Identifier (PID) of the elementary audio stream(s) in the transport stream.audioPids
(Collection<Integer> audioPids) Packet Identifier (PID) of the elementary audio stream(s) in the transport stream.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
(M3u8DataPtsControl 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).maxPcrInterval
(Integer maxPcrInterval) Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.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
(M3u8NielsenId3 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.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
(M3u8PcrControl pcrControl) When set to PCR_EVERY_PES_PACKET a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header.Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport stream.pmtInterval
(Integer pmtInterval) The number of milliseconds between instances of this table in the output transport stream.Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream.privateMetadataPid
(Integer privateMetadataPid) Packet Identifier (PID) of the private metadata stream in the transport stream.programNumber
(Integer programNumber) The value of the program number field in the Program Map Table.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.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
(M3u8Scte35Source 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.timedMetadata
(String timedMetadata) Set ID3 metadata to Passthrough to include ID3 metadata in this output.timedMetadata
(TimedMetadata timedMetadata) Set ID3 metadata to Passthrough to include ID3 metadata in this output.timedMetadataPid
(Integer timedMetadataPid) Packet Identifier (PID) of the ID3 metadata stream in the transport stream.transportStreamId
(Integer transportStreamId) The value of the transport stream ID field in the Program Map Table.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
-
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
Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation.- Parameters:
audioPids
- Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audioPids
Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation.- Parameters:
audioPids
- Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 AUTO 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 AUTO 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 AUTO 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 AUTO to allow all PTS values.- 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.
-
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:
-
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 parameter 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 parameter 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 parameter 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 parameter 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
Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport stream. When no value is given, the encoder will assign the same value as the Video PID.- Parameters:
pcrPid
- Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport stream. When no value is given, the encoder will assign the same value as the Video PID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pmtInterval
The number of milliseconds between instances of this table in the output transport stream.- Parameters:
pmtInterval
- 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.
-
pmtPid
Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream.- Parameters:
pmtPid
- Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateMetadataPid
Packet Identifier (PID) of the private metadata stream in the transport stream.- Parameters:
privateMetadataPid
- Packet Identifier (PID) of the private metadata stream in the transport stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programNumber
The value of the program number field in the Program Map Table.- Parameters:
programNumber
- The value of the program number field in the Program Map Table.- 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:
-
scte35Pid
Packet Identifier (PID) of the SCTE-35 stream in the transport stream.- Parameters:
scte35Pid
- 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 if you don't want manifest conditioning. Choose Passthrough and choose Ad markers if you do want manifest conditioning. In both cases, also provide the ESAM XML as a string in the setting Signal processing notification XML.- 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 if you don't want manifest conditioning. Choose Passthrough and choose Ad markers if you do want manifest conditioning. In both cases, also provide the ESAM XML as a string in the setting Signal processing notification XML.- 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 if you don't want manifest conditioning. Choose Passthrough and choose Ad markers if you do want manifest conditioning. In both cases, also provide the ESAM XML as a string in the setting Signal processing notification XML.- 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 if you don't want manifest conditioning. Choose Passthrough and choose Ad markers if you do want manifest conditioning. In both cases, also provide the ESAM XML as a string in the setting Signal processing notification XML.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timedMetadata
Set ID3 metadata to Passthrough to include ID3 metadata in this output. This includes ID3 metadata from the following features: ID3 timestamp period, and Custom ID3 metadata inserter. To exclude this ID3 metadata in this output: set ID3 metadata to None or leave blank.- Parameters:
timedMetadata
- Set ID3 metadata to Passthrough to include ID3 metadata in this output. This includes ID3 metadata from the following features: ID3 timestamp period, and Custom ID3 metadata inserter. To exclude this ID3 metadata in this output: set ID3 metadata to None or leave blank.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timedMetadata
Set ID3 metadata to Passthrough to include ID3 metadata in this output. This includes ID3 metadata from the following features: ID3 timestamp period, and Custom ID3 metadata inserter. To exclude this ID3 metadata in this output: set ID3 metadata to None or leave blank.- Parameters:
timedMetadata
- Set ID3 metadata to Passthrough to include ID3 metadata in this output. This includes ID3 metadata from the following features: ID3 timestamp period, and Custom ID3 metadata inserter. To exclude this ID3 metadata in this output: set ID3 metadata to None or leave blank.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
The value of the transport stream ID field in the Program Map Table.- Parameters:
transportStreamId
- The value of the transport stream ID field in the Program Map Table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
videoPid
Packet Identifier (PID) of the elementary video stream in the transport stream.- Parameters:
videoPid
- 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.
-