Class StoryboardConverter
- java.lang.Object
-
- org.nuxeo.ecm.platform.video.convert.StoryboardConverter
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>
commonParams
static String
FFMPEG_INFO_COMMAND
Deprecated.since 11.1, not used.static String
FFMPEG_SCREENSHOT_RESIZE_COMMAND
static String
HEIGHT_PARAM
static Log
log
static String
ORIGINAL_HEIGHT_PARAM
static String
ORIGINAL_WIDTH_PARAM
static String
THUMBNAIL_NUMBER_PARAM
static String
WIDTH_PARAM
-
Constructor Summary
Constructors Constructor Description StoryboardConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlobHolder
convert(BlobHolder blobHolder, Map<String,Serializable> parameters)
Main method to handle the real Conversion Job.protected void
fillWidthAndHeightParameters(CmdParameters cmdParameters, Map<String,Serializable> parameters)
protected int
getNumberOfThumbnails(Map<String,Serializable> parameters)
void
init(ConverterDescriptor descriptor)
Initializes the Converter.
-
-
-
Field Detail
-
log
public static final Log log
-
FFMPEG_INFO_COMMAND
@Deprecated public static final String FFMPEG_INFO_COMMAND
Deprecated.since 11.1, not used.- See Also:
- Constant Field Values
-
FFMPEG_SCREENSHOT_RESIZE_COMMAND
public static final String FFMPEG_SCREENSHOT_RESIZE_COMMAND
- See Also:
- Constant Field Values
-
ORIGINAL_WIDTH_PARAM
public static final String ORIGINAL_WIDTH_PARAM
- Since:
- 11.1
- See Also:
- Constant Field Values
-
ORIGINAL_HEIGHT_PARAM
public static final String ORIGINAL_HEIGHT_PARAM
- Since:
- 11.1
- See Also:
- Constant Field Values
-
WIDTH_PARAM
public static final String WIDTH_PARAM
- See Also:
- Constant Field Values
-
HEIGHT_PARAM
public static final String HEIGHT_PARAM
- See Also:
- Constant Field Values
-
THUMBNAIL_NUMBER_PARAM
public static final String THUMBNAIL_NUMBER_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(ConverterDescriptor descriptor)
Description copied from interface:Converter
Initializes the Converter.This can be used to retrieve some configuration information from the XMap Descriptor.
-
convert
public BlobHolder convert(BlobHolder blobHolder, Map<String,Serializable> parameters)
Description copied from interface:Converter
Main method to handle the real Conversion Job.Returned
BlobHolder
must implementCachableBlobHolder
, otherwise result won't be cached.
-
getNumberOfThumbnails
protected int getNumberOfThumbnails(Map<String,Serializable> parameters)
-
fillWidthAndHeightParameters
protected void fillWidthAndHeightParameters(CmdParameters cmdParameters, Map<String,Serializable> parameters)
-
-