Class AudioCodecOptions
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AudioCodecOptions.Builder,AudioCodecOptions>
Options associated with your audio codec.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringbitDepth()You can only choose an audio bit depth when you specifyflacorpcmfor the value of Audio:Codec.final StringbitOrder()You can only choose an audio bit order when you specifypcmfor the value of Audio:Codec.static AudioCodecOptions.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringprofile()You can only choose an audio profile when you specify AAC for the value of Audio:Codec.static Class<? extends AudioCodecOptions.Builder> final Stringsigned()You can only choose whether an audio sample is signed when you specifypcmfor the value of Audio:Codec.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
profile
You can only choose an audio profile when you specify AAC for the value of Audio:Codec.
Specify the AAC profile for the output file. Elastic Transcoder supports the following profiles:
-
auto: If you specifyauto, Elastic Transcoder selects the profile based on the bit rate selected for the output file. -
AAC-LC: The most common AAC profile. Use for bit rates larger than 64 kbps. -
HE-AAC: Not supported on some older players and devices. Use for bit rates between 40 and 80 kbps. -
HE-AACv2: Not supported on some players and devices. Use for bit rates less than 48 kbps.
All outputs in a
Smoothplaylist must have the same value forProfile.If you created any presets before AAC profiles were added, Elastic Transcoder automatically updated your presets to use AAC-LC. You can change the value as required.
- Returns:
- You can only choose an audio profile when you specify AAC for the value of Audio:Codec.
Specify the AAC profile for the output file. Elastic Transcoder supports the following profiles:
-
auto: If you specifyauto, Elastic Transcoder selects the profile based on the bit rate selected for the output file. -
AAC-LC: The most common AAC profile. Use for bit rates larger than 64 kbps. -
HE-AAC: Not supported on some older players and devices. Use for bit rates between 40 and 80 kbps. -
HE-AACv2: Not supported on some players and devices. Use for bit rates less than 48 kbps.
All outputs in a
Smoothplaylist must have the same value forProfile.If you created any presets before AAC profiles were added, Elastic Transcoder automatically updated your presets to use AAC-LC. You can change the value as required.
-
-
-
bitDepth
You can only choose an audio bit depth when you specify
flacorpcmfor the value of Audio:Codec.The bit depth of a sample is how many bits of information are included in the audio samples. The higher the bit depth, the better the audio, but the larger the file.
Valid values are
16and24.The most common bit depth is
24.- Returns:
- You can only choose an audio bit depth when you specify
flacorpcmfor the value of Audio:Codec.The bit depth of a sample is how many bits of information are included in the audio samples. The higher the bit depth, the better the audio, but the larger the file.
Valid values are
16and24.The most common bit depth is
24.
-
bitOrder
You can only choose an audio bit order when you specify
pcmfor the value of Audio:Codec.The order the bits of a PCM sample are stored in.
The supported value is
LittleEndian.- Returns:
- You can only choose an audio bit order when you specify
pcmfor the value of Audio:Codec.The order the bits of a PCM sample are stored in.
The supported value is
LittleEndian.
-
signed
You can only choose whether an audio sample is signed when you specify
pcmfor the value of Audio:Codec.Whether audio samples are represented with negative and positive numbers (signed) or only positive numbers (unsigned).
The supported value is
Signed.- Returns:
- You can only choose whether an audio sample is signed when you specify
pcmfor the value of Audio:Codec.Whether audio samples are represented with negative and positive numbers (signed) or only positive numbers (unsigned).
The supported value is
Signed.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AudioCodecOptions.Builder,AudioCodecOptions> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
-
sdkFields
-