@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AudioSelector extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
AudioSelector() |
Modifier and Type | Method and Description |
---|---|
AudioSelector |
clone() |
boolean |
equals(Object obj) |
String |
getAudioDurationCorrection()
Apply audio timing corrections to help synchronize audio and video in your output.
|
String |
getCustomLanguageCode()
Selects a specific language code from within an audio source, using the ISO 639-2 or ISO 639-3 three-letter
language code
|
String |
getDefaultSelection()
Enable this setting on one audio selector to set it as the default for the job.
|
String |
getExternalAudioFileInput()
Specifies audio data from an external file source.
|
HlsRenditionGroupSettings |
getHlsRenditionGroupSettings()
Settings specific to audio sources in an HLS alternate rendition group.
|
String |
getLanguageCode()
Selects a specific language code from within an audio source.
|
Integer |
getOffset()
Specifies a time delta in milliseconds to offset the audio from the input video.
|
List<Integer> |
getPids()
Selects a specific PID from within an audio source (e.g.
|
Integer |
getProgramSelection()
Use this setting for input streams that contain Dolby E, to have the service extract specific program data from
the track.
|
RemixSettings |
getRemixSettings()
Use these settings to reorder the audio channels of one input to match those of another input.
|
String |
getSelectorType()
Specifies the type of the audio selector.
|
List<Integer> |
getTracks()
Identify a track from the input audio to include in this selector by entering the track index number.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAudioDurationCorrection(String audioDurationCorrection)
Apply audio timing corrections to help synchronize audio and video in your output.
|
void |
setCustomLanguageCode(String customLanguageCode)
Selects a specific language code from within an audio source, using the ISO 639-2 or ISO 639-3 three-letter
language code
|
void |
setDefaultSelection(String defaultSelection)
Enable this setting on one audio selector to set it as the default for the job.
|
void |
setExternalAudioFileInput(String externalAudioFileInput)
Specifies audio data from an external file source.
|
void |
setHlsRenditionGroupSettings(HlsRenditionGroupSettings hlsRenditionGroupSettings)
Settings specific to audio sources in an HLS alternate rendition group.
|
void |
setLanguageCode(String languageCode)
Selects a specific language code from within an audio source.
|
void |
setOffset(Integer offset)
Specifies a time delta in milliseconds to offset the audio from the input video.
|
void |
setPids(Collection<Integer> pids)
Selects a specific PID from within an audio source (e.g.
|
void |
setProgramSelection(Integer programSelection)
Use this setting for input streams that contain Dolby E, to have the service extract specific program data from
the track.
|
void |
setRemixSettings(RemixSettings remixSettings)
Use these settings to reorder the audio channels of one input to match those of another input.
|
void |
setSelectorType(String selectorType)
Specifies the type of the audio selector.
|
void |
setTracks(Collection<Integer> tracks)
Identify a track from the input audio to include in this selector by entering the track index number.
|
String |
toString()
Returns a string representation of this object.
|
AudioSelector |
withAudioDurationCorrection(AudioDurationCorrection audioDurationCorrection)
Apply audio timing corrections to help synchronize audio and video in your output.
|
AudioSelector |
withAudioDurationCorrection(String audioDurationCorrection)
Apply audio timing corrections to help synchronize audio and video in your output.
|
AudioSelector |
withCustomLanguageCode(String customLanguageCode)
Selects a specific language code from within an audio source, using the ISO 639-2 or ISO 639-3 three-letter
language code
|
AudioSelector |
withDefaultSelection(AudioDefaultSelection defaultSelection)
Enable this setting on one audio selector to set it as the default for the job.
|
AudioSelector |
withDefaultSelection(String defaultSelection)
Enable this setting on one audio selector to set it as the default for the job.
|
AudioSelector |
withExternalAudioFileInput(String externalAudioFileInput)
Specifies audio data from an external file source.
|
AudioSelector |
withHlsRenditionGroupSettings(HlsRenditionGroupSettings hlsRenditionGroupSettings)
Settings specific to audio sources in an HLS alternate rendition group.
|
AudioSelector |
withLanguageCode(LanguageCode languageCode)
Selects a specific language code from within an audio source.
|
AudioSelector |
withLanguageCode(String languageCode)
Selects a specific language code from within an audio source.
|
AudioSelector |
withOffset(Integer offset)
Specifies a time delta in milliseconds to offset the audio from the input video.
|
AudioSelector |
withPids(Collection<Integer> pids)
Selects a specific PID from within an audio source (e.g.
|
AudioSelector |
withPids(Integer... pids)
Selects a specific PID from within an audio source (e.g.
|
AudioSelector |
withProgramSelection(Integer programSelection)
Use this setting for input streams that contain Dolby E, to have the service extract specific program data from
the track.
|
AudioSelector |
withRemixSettings(RemixSettings remixSettings)
Use these settings to reorder the audio channels of one input to match those of another input.
|
AudioSelector |
withSelectorType(AudioSelectorType selectorType)
Specifies the type of the audio selector.
|
AudioSelector |
withSelectorType(String selectorType)
Specifies the type of the audio selector.
|
AudioSelector |
withTracks(Collection<Integer> tracks)
Identify a track from the input audio to include in this selector by entering the track index number.
|
AudioSelector |
withTracks(Integer... tracks)
Identify a track from the input audio to include in this selector by entering the track index number.
|
public void setAudioDurationCorrection(String audioDurationCorrection)
audioDurationCorrection
- Apply audio timing corrections to help synchronize audio and video in your output. To apply timing
corrections, your input must meet the following requirements: * Container: MP4, or MOV, with an accurate
time-to-sample (STTS) table. * Audio track: AAC. Choose from the following audio timing correction
settings: * Disabled (Default): Apply no correction. * Auto: Recommended for most inputs. MediaConvert
analyzes the audio timing in your input and determines which correction setting to use, if needed. *
Track: Adjust the duration of each audio frame by a constant amount to align the audio track length with
STTS duration. Track-level correction does not affect pitch, and is recommended for tonal audio content
such as music. * Frame: Adjust the duration of each audio frame by a variable amount to align audio frames
with STTS timestamps. No corrections are made to already-aligned frames. Frame-level correction may affect
the pitch of corrected frames, and is recommended for atonal audio content such as speech or percussion.AudioDurationCorrection
public String getAudioDurationCorrection()
AudioDurationCorrection
public AudioSelector withAudioDurationCorrection(String audioDurationCorrection)
audioDurationCorrection
- Apply audio timing corrections to help synchronize audio and video in your output. To apply timing
corrections, your input must meet the following requirements: * Container: MP4, or MOV, with an accurate
time-to-sample (STTS) table. * Audio track: AAC. Choose from the following audio timing correction
settings: * Disabled (Default): Apply no correction. * Auto: Recommended for most inputs. MediaConvert
analyzes the audio timing in your input and determines which correction setting to use, if needed. *
Track: Adjust the duration of each audio frame by a constant amount to align the audio track length with
STTS duration. Track-level correction does not affect pitch, and is recommended for tonal audio content
such as music. * Frame: Adjust the duration of each audio frame by a variable amount to align audio frames
with STTS timestamps. No corrections are made to already-aligned frames. Frame-level correction may affect
the pitch of corrected frames, and is recommended for atonal audio content such as speech or percussion.AudioDurationCorrection
public AudioSelector withAudioDurationCorrection(AudioDurationCorrection audioDurationCorrection)
audioDurationCorrection
- Apply audio timing corrections to help synchronize audio and video in your output. To apply timing
corrections, your input must meet the following requirements: * Container: MP4, or MOV, with an accurate
time-to-sample (STTS) table. * Audio track: AAC. Choose from the following audio timing correction
settings: * Disabled (Default): Apply no correction. * Auto: Recommended for most inputs. MediaConvert
analyzes the audio timing in your input and determines which correction setting to use, if needed. *
Track: Adjust the duration of each audio frame by a constant amount to align the audio track length with
STTS duration. Track-level correction does not affect pitch, and is recommended for tonal audio content
such as music. * Frame: Adjust the duration of each audio frame by a variable amount to align audio frames
with STTS timestamps. No corrections are made to already-aligned frames. Frame-level correction may affect
the pitch of corrected frames, and is recommended for atonal audio content such as speech or percussion.AudioDurationCorrection
public void setCustomLanguageCode(String customLanguageCode)
customLanguageCode
- Selects a specific language code from within an audio source, using the ISO 639-2 or ISO 639-3
three-letter language codepublic String getCustomLanguageCode()
public AudioSelector withCustomLanguageCode(String customLanguageCode)
customLanguageCode
- Selects a specific language code from within an audio source, using the ISO 639-2 or ISO 639-3
three-letter language codepublic void setDefaultSelection(String defaultSelection)
defaultSelection
- Enable this setting on one audio selector to set it as the default for the job. The service uses this
default for outputs where it can't find the specified input audio. If you don't set a default, those
outputs have no audio.AudioDefaultSelection
public String getDefaultSelection()
AudioDefaultSelection
public AudioSelector withDefaultSelection(String defaultSelection)
defaultSelection
- Enable this setting on one audio selector to set it as the default for the job. The service uses this
default for outputs where it can't find the specified input audio. If you don't set a default, those
outputs have no audio.AudioDefaultSelection
public AudioSelector withDefaultSelection(AudioDefaultSelection defaultSelection)
defaultSelection
- Enable this setting on one audio selector to set it as the default for the job. The service uses this
default for outputs where it can't find the specified input audio. If you don't set a default, those
outputs have no audio.AudioDefaultSelection
public void setExternalAudioFileInput(String externalAudioFileInput)
externalAudioFileInput
- Specifies audio data from an external file source.public String getExternalAudioFileInput()
public AudioSelector withExternalAudioFileInput(String externalAudioFileInput)
externalAudioFileInput
- Specifies audio data from an external file source.public void setHlsRenditionGroupSettings(HlsRenditionGroupSettings hlsRenditionGroupSettings)
hlsRenditionGroupSettings
- Settings specific to audio sources in an HLS alternate rendition group. Specify the properties
(renditionGroupId, renditionName or renditionLanguageCode) to identify the unique audio track among the
alternative rendition groups present in the HLS manifest. If no unique track is found, or multiple tracks
match the properties provided, the job fails. If no properties in hlsRenditionGroupSettings are specified,
the default audio track within the video segment is chosen. If there is no audio within video segment, the
alternative audio with DEFAULT=YES is chosen instead.public HlsRenditionGroupSettings getHlsRenditionGroupSettings()
public AudioSelector withHlsRenditionGroupSettings(HlsRenditionGroupSettings hlsRenditionGroupSettings)
hlsRenditionGroupSettings
- Settings specific to audio sources in an HLS alternate rendition group. Specify the properties
(renditionGroupId, renditionName or renditionLanguageCode) to identify the unique audio track among the
alternative rendition groups present in the HLS manifest. If no unique track is found, or multiple tracks
match the properties provided, the job fails. If no properties in hlsRenditionGroupSettings are specified,
the default audio track within the video segment is chosen. If there is no audio within video segment, the
alternative audio with DEFAULT=YES is chosen instead.public void setLanguageCode(String languageCode)
languageCode
- Selects a specific language code from within an audio source.LanguageCode
public String getLanguageCode()
LanguageCode
public AudioSelector withLanguageCode(String languageCode)
languageCode
- Selects a specific language code from within an audio source.LanguageCode
public AudioSelector withLanguageCode(LanguageCode languageCode)
languageCode
- Selects a specific language code from within an audio source.LanguageCode
public void setOffset(Integer offset)
offset
- Specifies a time delta in milliseconds to offset the audio from the input video.public Integer getOffset()
public AudioSelector withOffset(Integer offset)
offset
- Specifies a time delta in milliseconds to offset the audio from the input video.public List<Integer> getPids()
public void setPids(Collection<Integer> pids)
pids
- Selects a specific PID from within an audio source (e.g. 257 selects PID 0x101).public AudioSelector withPids(Integer... pids)
NOTE: This method appends the values to the existing list (if any). Use
setPids(java.util.Collection)
or withPids(java.util.Collection)
if you want to override the
existing values.
pids
- Selects a specific PID from within an audio source (e.g. 257 selects PID 0x101).public AudioSelector withPids(Collection<Integer> pids)
pids
- Selects a specific PID from within an audio source (e.g. 257 selects PID 0x101).public void setProgramSelection(Integer programSelection)
programSelection
- Use this setting for input streams that contain Dolby E, to have the service extract specific program data
from the track. To select multiple programs, create multiple selectors with the same Track and different
Program numbers. In the console, this setting is visible when you set Selector type to Track. Choose the
program number from the dropdown list. If your input file has incorrect metadata, you can choose All
channels instead of a program number to have the service ignore the program IDs and include all the
programs in the track.public Integer getProgramSelection()
public AudioSelector withProgramSelection(Integer programSelection)
programSelection
- Use this setting for input streams that contain Dolby E, to have the service extract specific program data
from the track. To select multiple programs, create multiple selectors with the same Track and different
Program numbers. In the console, this setting is visible when you set Selector type to Track. Choose the
program number from the dropdown list. If your input file has incorrect metadata, you can choose All
channels instead of a program number to have the service ignore the program IDs and include all the
programs in the track.public void setRemixSettings(RemixSettings remixSettings)
remixSettings
- Use these settings to reorder the audio channels of one input to match those of another input. This allows
you to combine the two files into a single output, one after the other.public RemixSettings getRemixSettings()
public AudioSelector withRemixSettings(RemixSettings remixSettings)
remixSettings
- Use these settings to reorder the audio channels of one input to match those of another input. This allows
you to combine the two files into a single output, one after the other.public void setSelectorType(String selectorType)
selectorType
- Specifies the type of the audio selector.AudioSelectorType
public String getSelectorType()
AudioSelectorType
public AudioSelector withSelectorType(String selectorType)
selectorType
- Specifies the type of the audio selector.AudioSelectorType
public AudioSelector withSelectorType(AudioSelectorType selectorType)
selectorType
- Specifies the type of the audio selector.AudioSelectorType
public List<Integer> getTracks()
public void setTracks(Collection<Integer> tracks)
tracks
- Identify a track from the input audio to include in this selector by entering the track index number. To
include several tracks in a single audio selector, specify multiple tracks as follows. Using the console,
enter a comma-separated list. For example, type "1,2,3" to include tracks 1 through 3.public AudioSelector withTracks(Integer... tracks)
NOTE: This method appends the values to the existing list (if any). Use
setTracks(java.util.Collection)
or withTracks(java.util.Collection)
if you want to override the
existing values.
tracks
- Identify a track from the input audio to include in this selector by entering the track index number. To
include several tracks in a single audio selector, specify multiple tracks as follows. Using the console,
enter a comma-separated list. For example, type "1,2,3" to include tracks 1 through 3.public AudioSelector withTracks(Collection<Integer> tracks)
tracks
- Identify a track from the input audio to include in this selector by entering the track index number. To
include several tracks in a single audio selector, specify multiple tracks as follows. Using the console,
enter a comma-separated list. For example, type "1,2,3" to include tracks 1 through 3.public String toString()
toString
in class Object
Object.toString()
public AudioSelector clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.