com.amazonaws.services.elastictranscoder.model
Class AudioCodecOptions

java.lang.Object
  extended by com.amazonaws.services.elastictranscoder.model.AudioCodecOptions
All Implemented Interfaces:
Serializable

public class AudioCodecOptions
extends Object
implements Serializable

Options associated with your audio codec.

See Also:
Serialized Form

Constructor Summary
AudioCodecOptions()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getProfile()
          If you specified AAC for Audio:Codec, choose the AAC profile for the output file.
 int hashCode()
           
 void setProfile(String profile)
          If you specified AAC for Audio:Codec, choose the AAC profile for the output file.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AudioCodecOptions withProfile(String profile)
          If you specified AAC for Audio:Codec, choose the AAC profile for the output file.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AudioCodecOptions

public AudioCodecOptions()
Method Detail

getProfile

public String getProfile()
If you specified AAC for Audio:Codec, choose the AAC profile for the output file. Elastic Transcoder supports the following profiles:

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.

Constraints:
Pattern: (^auto$)|(^AAC-LC$)|(^HE-AAC$)|(^HE-AACv2$)

Returns:
If you specified AAC for Audio:Codec, choose 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 bitrates larger than 64 kbps.
  • HE-AAC: Not supported on some older players and devices. Use for bitrates between 40 and 80 kbps.
  • HE-AACv2: Not supported on some players and devices. Use for bitrates less than 48 kbps.

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.


setProfile

public void setProfile(String profile)
If you specified AAC for Audio:Codec, choose the AAC profile for the output file. Elastic Transcoder supports the following profiles:

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.

Constraints:
Pattern: (^auto$)|(^AAC-LC$)|(^HE-AAC$)|(^HE-AACv2$)

Parameters:
profile - If you specified AAC for Audio:Codec, choose 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 bitrates larger than 64 kbps.
  • HE-AAC: Not supported on some older players and devices. Use for bitrates between 40 and 80 kbps.
  • HE-AACv2: Not supported on some players and devices. Use for bitrates less than 48 kbps.

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.


withProfile

public AudioCodecOptions withProfile(String profile)
If you specified AAC for Audio:Codec, choose the AAC profile for the output file. Elastic Transcoder supports the following profiles:

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 a reference to this object so that method calls can be chained together.

Constraints:
Pattern: (^auto$)|(^AAC-LC$)|(^HE-AAC$)|(^HE-AACv2$)

Parameters:
profile - If you specified AAC for Audio:Codec, choose 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 bitrates larger than 64 kbps.
  • HE-AAC: Not supported on some older players and devices. Use for bitrates between 40 and 80 kbps.
  • HE-AACv2: Not supported on some players and devices. Use for bitrates less than 48 kbps.

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:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.