public class StoryboardConverter extends BaseVideoConverter implements Converter
Modifier and Type | Field and Description |
---|---|
protected Map<String,String> |
commonParams |
static String |
FFMPEG_INFO_COMMAND |
static String |
FFMPEG_SCREENSHOT_RESIZE_COMMAND |
static String |
HEIGHT_PARAM |
static org.apache.commons.logging.Log |
log |
static String |
THUMBNAIL_NUMBER_PARAM |
static String |
WIDTH_PARAM |
DURATION_PATTERN
Constructor and Description |
---|
StoryboardConverter() |
Modifier and Type | Method and Description |
---|---|
BlobHolder |
convert(BlobHolder blobHolder,
Map<String,Serializable> parameters)
Main method to handle the real Conversion Job.
|
protected int |
getNumberOfThumbnails(Map<String,Serializable> parameters) |
void |
init(ConverterDescriptor descriptor)
Initializes the Converter.
|
extractDuration, quoteFilePath
public static final org.apache.commons.logging.Log log
public static final String FFMPEG_INFO_COMMAND
public static final String FFMPEG_SCREENSHOT_RESIZE_COMMAND
public static final String WIDTH_PARAM
public static final String HEIGHT_PARAM
public static final String THUMBNAIL_NUMBER_PARAM
protected Map<String,String> commonParams
public StoryboardConverter()
public void init(ConverterDescriptor descriptor)
Converter
This can be used to retrieve some configuration information from the XMap Descriptor.
public BlobHolder convert(BlobHolder blobHolder, Map<String,Serializable> parameters) throws ConversionException
Converter
Returned BlobHolder
must implement CachableBlobHolder
, otherwise result won't be cached.
convert
in interface Converter
ConversionException
protected int getNumberOfThumbnails(Map<String,Serializable> parameters)
Copyright © 2016 Nuxeo SA. All rights reserved.