Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.util
Class LiferayAudioConverter

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.util.LiferayConverter
      extended by com.liferay.portlet.documentlibrary.util.LiferayAudioConverter

public class LiferayAudioConverter
extends LiferayConverter


Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.util.LiferayConverter
AUDIO_BIT_RATE_DEFAULT, AUDIO_BIT_RATE_MAX, AUDIO_SAMPLE_RATE_DEFAULT, AUDIO_SAMPLE_RATE_MAX, DECODE_VIDEO_THUMBNAIL
 
Constructor Summary
LiferayAudioConverter(String inputURL, String outputURL, String audioContainer, Properties audioProperties)
           
 
Method Summary
 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)
           
 
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
 

Constructor Detail

LiferayAudioConverter

public LiferayAudioConverter(String inputURL,
                             String outputURL,
                             String audioContainer,
                             Properties audioProperties)
Method Detail

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)

Liferay 6.1.2-ce-ga3