com.liferay.portlet.documentlibrary.util
Class LiferayVideoThumbnailConverter
java.lang.Object
com.liferay.portlet.documentlibrary.util.LiferayConverter
com.liferay.portlet.documentlibrary.util.LiferayVideoThumbnailConverter
public class LiferayVideoThumbnailConverter
- extends LiferayConverter
Method Summary |
void |
convert()
|
protected void |
doConvert()
|
protected boolean |
generateThumbnail(com.xuggle.xuggler.IStreamCoder[] inputIStreamCoders,
com.xuggle.xuggler.IVideoPicture[] inputIVideoPictures)
|
protected com.xuggle.xuggler.IContainer |
getInputIContainer()
|
Methods inherited from class com.liferay.portlet.documentlibrary.util.LiferayConverter |
cleanUp, cleanUp, cleanUp, countNonKeyAfterKey, createIAudioResampler, createIVideoResampler, decodeAudio, decodeVideo, encodeAudio, encodeVideo, flush, flush, getAudioBitRate, getAudioEncodingChannels, getAudioEncodingICodec, getAudioSampleFormat, getAudioSampleRate, 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 |
LiferayVideoThumbnailConverter
public LiferayVideoThumbnailConverter(String inputURL,
File outputFile,
String extension,
int height,
int width,
int percentage)
convert
public void convert()
throws Exception
- Specified by:
convert
in class LiferayConverter
- Throws:
Exception
doConvert
protected void doConvert()
throws Exception
- Throws:
Exception
generateThumbnail
protected boolean generateThumbnail(com.xuggle.xuggler.IStreamCoder[] inputIStreamCoders,
com.xuggle.xuggler.IVideoPicture[] inputIVideoPictures)
throws Exception
- Throws:
Exception
getInputIContainer
protected com.xuggle.xuggler.IContainer getInputIContainer()
- Specified by:
getInputIContainer
in class LiferayConverter