public class LiferayVideoThumbnailConverter extends LiferayConverter
AUDIO_BIT_RATE_DEFAULT, AUDIO_BIT_RATE_MAX, AUDIO_SAMPLE_RATE_DEFAULT, AUDIO_SAMPLE_RATE_MAX, DECODE_VIDEO_THUMBNAIL
Constructor and Description |
---|
LiferayVideoThumbnailConverter(String inputURL,
File outputFile,
String extension,
int height,
int width,
int percentage) |
Modifier and Type | Method and Description |
---|---|
void |
convert() |
protected void |
doConvert() |
protected boolean |
generateThumbnail(com.xuggle.xuggler.IStreamCoder[] inputIStreamCoders,
com.xuggle.xuggler.IVideoPicture[] inputIVideoPictures) |
protected com.xuggle.xuggler.IContainer |
getInputIContainer() |
cleanUp, cleanUp, cleanUp, countNonKeyAfterKey, createIAudioResampler, createIVideoResampler, decodeAudio, decodeVideo, encodeAudio, encodeVideo, flush, flush, getAudioBitRate, getAudioEncodingChannels, getAudioEncodingICodec, getAudioSampleFormat, getAudioSampleRate, getCodecBitRate, getProperty, getProperty, getSeekTimeStamp, getStreamTimeStampOffset, isKeyPacketFound, isStartDecoding, openContainer, openStreamCoder, prepareAudio, resampleAudio, resampleVideo, rewind, rewind, seek, seek, updateAudioTimeStamp, updateVideoTimeStamp
public LiferayVideoThumbnailConverter(String inputURL, File outputFile, String extension, int height, int width, int percentage)
public void convert() throws Exception
convert
in class LiferayConverter
Exception
protected void doConvert() throws Exception
Exception
protected boolean generateThumbnail(com.xuggle.xuggler.IStreamCoder[] inputIStreamCoders, com.xuggle.xuggler.IVideoPicture[] inputIVideoPictures) throws Exception
Exception
protected com.xuggle.xuggler.IContainer getInputIContainer()
getInputIContainer
in class LiferayConverter