Class DynamicAudioSelector
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconvert.model.DynamicAudioSelector
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DynamicAudioSelector.Builder,DynamicAudioSelector>
@Generated("software.amazon.awssdk:codegen") public final class DynamicAudioSelector extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DynamicAudioSelector.Builder,DynamicAudioSelector>
Use Dynamic audio selectors when you do not know the track layout of your source when you submit your job, but want to select multiple audio tracks. When you include an audio track in your output and specify this Dynamic audio selector as the Audio source, MediaConvert creates an output audio track for each dynamically selected track. Note that when you include a Dynamic audio selector for two or more inputs, each input must have the same number of audio tracks and audio channels.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDynamicAudioSelector.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AudioDurationCorrectionaudioDurationCorrection()Apply audio timing corrections to help synchronize audio and video in your output.StringaudioDurationCorrectionAsString()Apply audio timing corrections to help synchronize audio and video in your output.static DynamicAudioSelector.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexternalAudioFileInput()Specify the S3, HTTP, or HTTPS URL for your external audio file input.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LanguageCodelanguageCode()Specify the language to select from your audio input.StringlanguageCodeAsString()Specify the language to select from your audio input.Integeroffset()Specify a time delta, in milliseconds, to offset the audio from the input video.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()DynamicAudioSelectorTypeselectorType()Specify which audio tracks to dynamically select from your source.StringselectorTypeAsString()Specify which audio tracks to dynamically select from your source.static Class<? extends DynamicAudioSelector.Builder>serializableBuilderClass()DynamicAudioSelector.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
audioDurationCorrection
public final 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. * Force: Apply audio duration correction, either Track or Frame depending on your input, regardless of the accuracy of your input's STTS table. Your output audio and video may not be aligned or it may contain audio artifacts.If the service returns an enum value that is not available in the current SDK version,
audioDurationCorrectionwill returnAudioDurationCorrection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaudioDurationCorrectionAsString().- Returns:
- 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. * Force: Apply audio duration correction, either Track or Frame depending on your input, regardless of the accuracy of your input's STTS table. Your output audio and video may not be aligned or it may contain audio artifacts.
- See Also:
AudioDurationCorrection
-
audioDurationCorrectionAsString
public final String audioDurationCorrectionAsString()
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. * Force: Apply audio duration correction, either Track or Frame depending on your input, regardless of the accuracy of your input's STTS table. Your output audio and video may not be aligned or it may contain audio artifacts.If the service returns an enum value that is not available in the current SDK version,
audioDurationCorrectionwill returnAudioDurationCorrection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaudioDurationCorrectionAsString().- Returns:
- 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. * Force: Apply audio duration correction, either Track or Frame depending on your input, regardless of the accuracy of your input's STTS table. Your output audio and video may not be aligned or it may contain audio artifacts.
- See Also:
AudioDurationCorrection
-
externalAudioFileInput
public final String externalAudioFileInput()
Specify the S3, HTTP, or HTTPS URL for your external audio file input.- Returns:
- Specify the S3, HTTP, or HTTPS URL for your external audio file input.
-
languageCode
public final LanguageCode languageCode()
Specify the language to select from your audio input. In the MediaConvert console choose from a list of languages. In your JSON job settings choose from an ISO 639-2 three-letter code listed at https://www.loc.gov/standards/iso639-2/php/code_list.phpIf the service returns an enum value that is not available in the current SDK version,
languageCodewill returnLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageCodeAsString().- Returns:
- Specify the language to select from your audio input. In the MediaConvert console choose from a list of languages. In your JSON job settings choose from an ISO 639-2 three-letter code listed at https://www.loc.gov/standards/iso639-2/php/code_list.php
- See Also:
LanguageCode
-
languageCodeAsString
public final String languageCodeAsString()
Specify the language to select from your audio input. In the MediaConvert console choose from a list of languages. In your JSON job settings choose from an ISO 639-2 three-letter code listed at https://www.loc.gov/standards/iso639-2/php/code_list.phpIf the service returns an enum value that is not available in the current SDK version,
languageCodewill returnLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageCodeAsString().- Returns:
- Specify the language to select from your audio input. In the MediaConvert console choose from a list of languages. In your JSON job settings choose from an ISO 639-2 three-letter code listed at https://www.loc.gov/standards/iso639-2/php/code_list.php
- See Also:
LanguageCode
-
offset
public final Integer offset()
Specify a time delta, in milliseconds, to offset the audio from the input video. To specify no offset: Keep the default value, 0. To specify an offset: Enter an integer from -2147483648 to 2147483647- Returns:
- Specify a time delta, in milliseconds, to offset the audio from the input video. To specify no offset: Keep the default value, 0. To specify an offset: Enter an integer from -2147483648 to 2147483647
-
selectorType
public final DynamicAudioSelectorType selectorType()
Specify which audio tracks to dynamically select from your source. To select all audio tracks: Keep the default value, All tracks. To select all audio tracks with a specific language code: Choose Language code. When you do, you must also specify a language code under the Language code setting. If there is no matching Language code in your source, then no track will be selected.If the service returns an enum value that is not available in the current SDK version,
selectorTypewill returnDynamicAudioSelectorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromselectorTypeAsString().- Returns:
- Specify which audio tracks to dynamically select from your source. To select all audio tracks: Keep the default value, All tracks. To select all audio tracks with a specific language code: Choose Language code. When you do, you must also specify a language code under the Language code setting. If there is no matching Language code in your source, then no track will be selected.
- See Also:
DynamicAudioSelectorType
-
selectorTypeAsString
public final String selectorTypeAsString()
Specify which audio tracks to dynamically select from your source. To select all audio tracks: Keep the default value, All tracks. To select all audio tracks with a specific language code: Choose Language code. When you do, you must also specify a language code under the Language code setting. If there is no matching Language code in your source, then no track will be selected.If the service returns an enum value that is not available in the current SDK version,
selectorTypewill returnDynamicAudioSelectorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromselectorTypeAsString().- Returns:
- Specify which audio tracks to dynamically select from your source. To select all audio tracks: Keep the default value, All tracks. To select all audio tracks with a specific language code: Choose Language code. When you do, you must also specify a language code under the Language code setting. If there is no matching Language code in your source, then no track will be selected.
- See Also:
DynamicAudioSelectorType
-
toBuilder
public DynamicAudioSelector.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DynamicAudioSelector.Builder,DynamicAudioSelector>
-
builder
public static DynamicAudioSelector.Builder builder()
-
serializableBuilderClass
public static Class<? extends DynamicAudioSelector.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-