public class LiferayAudioConverter extends LiferayConverter
AUDIO_BIT_RATE_DEFAULT, AUDIO_BIT_RATE_MAX, AUDIO_SAMPLE_RATE_DEFAULT, AUDIO_SAMPLE_RATE_MAX, DECODE_VIDEO_THUMBNAIL
Constructor and Description |
---|
LiferayAudioConverter(String inputURL,
String outputURL,
String audioContainer,
Properties audioProperties) |
Modifier and Type | Method and Description |
---|---|
void |
convert() |
protected void |
doConvert() |
protected int |
getAudioBitRate(com.xuggle.xuggler.ICodec outputICodec,
int originalBitRate) |
protected int |
getAudioSampleRate() |
protected com.xuggle.xuggler.IContainer |
getInputIContainer() |
protected void |
initAudioBitRate(Properties audioProperties) |
protected void |
initAudioSampleRate(Properties audioProperties) |
cleanUp, cleanUp, cleanUp, countNonKeyAfterKey, createIAudioResampler, createIVideoResampler, decodeAudio, decodeVideo, encodeAudio, encodeVideo, flush, flush, getAudioEncodingChannels, getAudioEncodingICodec, getAudioSampleFormat, getCodecBitRate, getProperty, getProperty, getSeekTimeStamp, getStreamTimeStampOffset, isKeyPacketFound, isStartDecoding, openContainer, openStreamCoder, prepareAudio, resampleAudio, resampleVideo, rewind, rewind, seek, seek, updateAudioTimeStamp, updateVideoTimeStamp
public LiferayAudioConverter(String inputURL, String outputURL, String audioContainer, Properties audioProperties)
public void convert() throws Exception
convert
in class LiferayConverter
Exception
protected void doConvert() throws Exception
Exception
protected int getAudioBitRate(com.xuggle.xuggler.ICodec outputICodec, int originalBitRate)
getAudioBitRate
in class LiferayConverter
protected int getAudioSampleRate()
getAudioSampleRate
in class LiferayConverter
protected com.xuggle.xuggler.IContainer getInputIContainer()
getInputIContainer
in class LiferayConverter
protected void initAudioBitRate(Properties audioProperties)
protected void initAudioSampleRate(Properties audioProperties)