public class AudioCodecOptions extends Object implements Serializable, Cloneable
Options associated with your audio codec.
Constructor and Description |
---|
AudioCodecOptions() |
Modifier and Type | Method and Description |
---|---|
AudioCodecOptions |
clone() |
boolean |
equals(Object obj) |
String |
getProfile()
You can only choose an audio profile when you specify AAC for the
value of Audio:Codec.
|
int |
hashCode() |
void |
setProfile(String profile)
You can only choose an audio profile when you specify AAC for the
value of Audio:Codec.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AudioCodecOptions |
withProfile(String profile)
You can only choose an audio profile when you specify AAC for the
value of Audio:Codec.
|
public String getProfile()
Specify the AAC profile for the output file. Elastic Transcoder supports the following profiles:
auto
: If you specify auto
, Elastic
Transcoder will select 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
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.Smooth
playlist must have the same value for
Profile
.
Constraints:
Pattern: (^auto$)|(^AAC-LC$)|(^HE-AAC$)|(^HE-AACv2$)
Specify the AAC profile for the output file. Elastic Transcoder supports the following profiles:
auto
: If you specify auto
, Elastic
Transcoder will select 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
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.Smooth
playlist must have the same value for
Profile
.
public void setProfile(String profile)
Specify the AAC profile for the output file. Elastic Transcoder supports the following profiles:
auto
: If you specify auto
, Elastic
Transcoder will select 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
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.Smooth
playlist must have the same value for
Profile
.
Constraints:
Pattern: (^auto$)|(^AAC-LC$)|(^HE-AAC$)|(^HE-AACv2$)
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 specify auto
, Elastic
Transcoder will select 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
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.Smooth
playlist must have the same value for
Profile
.
public AudioCodecOptions withProfile(String profile)
Specify the AAC profile for the output file. Elastic Transcoder supports the following profiles:
auto
: If you specify auto
, Elastic
Transcoder will select 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
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.Smooth
playlist must have the same value for
Profile
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^auto$)|(^AAC-LC$)|(^HE-AAC$)|(^HE-AACv2$)
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 specify auto
, Elastic
Transcoder will select 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
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.Smooth
playlist must have the same value for
Profile
.
public String toString()
toString
in class Object
Object.toString()
public AudioCodecOptions clone()
Copyright © 2015. All rights reserved.