public class AudioTransformationOptions extends TransformationOptionsImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
AUDIO_CODEC_AAC |
static String |
AUDIO_CODEC_MP3 |
static String |
AUDIO_CODEC_PASSTHROUGH |
static String |
AUDIO_CODEC_VORBIS |
static String |
AUDIO_CODEC_WMA |
| Constructor and Description |
|---|
AudioTransformationOptions() |
AudioTransformationOptions(AudioTransformationOptions origOptions) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getTargetAudioBitrate()
Gets the audio bitrate to use for the target of the transformation
|
Integer |
getTargetAudioChannels()
Gets the number of audio channels to use for the target of the transformation
|
String |
getTargetAudioCodec()
Gets the audio codec to use for the target of the transformation
|
Integer |
getTargetAudioSamplingRate()
Gets the audio sampling rate to use for the target of the transformation
|
boolean |
getTargetFastStartEnabled()
Gets whether or not the moov atom should be moved to the start of the file if supported.
|
void |
merge(TransformationOptions override) |
void |
setTargetAudioBitrate(Long targetAudioBitrate)
Sets the audio bitrate to use for the target of the transformation
|
void |
setTargetAudioChannels(Integer targetAudioChannels)
Sets the number of audio channels to use for the target of the transformation
|
void |
setTargetAudioCodec(String targetAudioCodec)
Sets the audio codec to use for the target of the transformation
|
void |
setTargetAudioSamplingRate(Integer targetAudioSamplingRate)
Sets the audio sampling rate to use for the target of the transformation
|
void |
setTargetFastStartEnabled(boolean targetFastStartEnabled)
Sets whether or not the moov atom should be moved to the start of the file if supported.
|
String |
toString() |
addSourceOptions, deepCopySourceOptionsMap, getAdditionalOptions, getIncludeEmbedded, getPageLimit, getSourceOptions, getSourceOptionsMap, getTimeoutMs, setAdditionalOptions, setIncludeEmbedded, setPageLimit, setSourceOptionsList, setSourceOptionsMap, setTimeoutMs, toStringSourceOptionspublic static final String AUDIO_CODEC_AAC
public static final String AUDIO_CODEC_MP3
public static final String AUDIO_CODEC_VORBIS
public static final String AUDIO_CODEC_WMA
public static final String AUDIO_CODEC_PASSTHROUGH
public AudioTransformationOptions()
public AudioTransformationOptions(AudioTransformationOptions origOptions)
public void merge(TransformationOptions override)
merge in interface org.gytheio.util.Mergable<TransformationOptions>merge in class TransformationOptionsImplpublic String getTargetAudioCodec()
public void setTargetAudioCodec(String targetAudioCodec)
targetAudioCodec - public Long getTargetAudioBitrate()
public void setTargetAudioBitrate(Long targetAudioBitrate)
targetAudioBitrate - public Integer getTargetAudioSamplingRate()
public void setTargetAudioSamplingRate(Integer targetAudioSamplingRate)
targetAudioSamplingRate - public Integer getTargetAudioChannels()
public void setTargetAudioChannels(Integer targetAudioChannels)
targetAudioChannels - public boolean getTargetFastStartEnabled()
public void setTargetFastStartEnabled(boolean targetFastStartEnabled)
targetFastStartEnabled - public String toString()
toString in class TransformationOptionsImplCopyright © 2018 Alfresco Software. All rights reserved.