Enum AudioCodec
- All Implemented Interfaces:
Serializable
,Comparable<AudioCodec>
Choose the audio codec for this output. Note that the option Dolby Digital passthrough applies only to Dolby Digital
and Dolby Digital Plus audio inputs. Make sure that you choose a codec that's supported with your output container:
https
://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#reference-codecs-containers-output
-audio For audio-only outputs, make sure that both your input audio codec and your output audio codec are supported
for audio-only workflows. For more information, see:
https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs
-containers-input.html#reference-codecs-containers-input-audio-only and
https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#audio-only-output
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic AudioCodec
Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set
<AudioCodec> toString()
static AudioCodec
Returns the enum constant of this type with the specified name.static AudioCodec[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AAC
-
MP2
-
MP3
-
WAV
-
AIFF
-
AC3
-
EAC3
-
EAC3_ATMOS
-
VORBIS
-
OPUS
-
PASSTHROUGH
-
FLAC
-
UNKNOWN_TO_SDK_VERSION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<AudioCodec>
-
fromValue
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value
- real value- Returns:
- AudioCodec corresponding to the value
-
knownValues
Use this in place ofvalues()
to return aSet
of all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION
.- Returns:
- a
Set
of knownAudioCodec
s
-