com.liferay.portlet.documentlibrary.util
Class LiferayAudioConverter
java.lang.Object
com.liferay.portlet.documentlibrary.util.LiferayConverter
com.liferay.portlet.documentlibrary.util.LiferayAudioConverter
public class LiferayAudioConverter
- extends LiferayConverter
Methods inherited from class com.liferay.portlet.documentlibrary.util.LiferayConverter |
cleanUp, cleanUp, cleanUp, countNonKeyAfterKey, createIAudioResampler, createIVideoResampler, decodeAudio, decodeVideo, encodeAudio, encodeVideo, flush, flush, getAudioEncodingChannels, getAudioEncodingICodec, getAudioSampleFormat, getProperty, getProperty, getSeekTimeStamp, getStreamTimeStampOffset, isKeyPacketFound, isStartDecoding, openContainer, openStreamCoder, prepareAudio, resampleAudio, resampleVideo, rewind, rewind, seek, seek, updateAudioTimeStamp, updateVideoTimeStamp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LiferayAudioConverter
public LiferayAudioConverter(String inputURL,
String outputURL,
String audioContainer,
Properties audioProperties)
convert
public void convert()
throws Exception
- Specified by:
convert
in class LiferayConverter
- Throws:
Exception
doConvert
protected void doConvert()
throws Exception
- Throws:
Exception
getAudioBitRate
protected int getAudioBitRate(com.xuggle.xuggler.ICodec outputICodec,
int originalBitRate)
- Overrides:
getAudioBitRate
in class LiferayConverter
getAudioSampleRate
protected int getAudioSampleRate()
- Overrides:
getAudioSampleRate
in class LiferayConverter
getInputIContainer
protected com.xuggle.xuggler.IContainer getInputIContainer()
- Specified by:
getInputIContainer
in class LiferayConverter
initAudioBitRate
protected void initAudioBitRate(Properties audioProperties)
initAudioSampleRate
protected void initAudioSampleRate(Properties audioProperties)