Class StoryboardConverter
java.lang.Object
org.nuxeo.ecm.platform.video.convert.StoryboardConverter
- All Implemented Interfaces:
Converter
Converter to extract a list of equally spaced JPEG thumbnails to represent the story-line of a movie file using the
ffmpeg commandline tool.
- Author:
- ogrisel
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(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 Details
-
FFMPEG_INFO_COMMAND
Deprecated.since 11.1, not used.- See Also:
-
FFMPEG_SCREENSHOT_RESIZE_COMMAND
- See Also:
-
ORIGINAL_WIDTH_PARAM
- Since:
- 11.1
- See Also:
-
ORIGINAL_HEIGHT_PARAM
- Since:
- 11.1
- See Also:
-
WIDTH_PARAM
- See Also:
-
HEIGHT_PARAM
- See Also:
-
THUMBNAIL_NUMBER_PARAM
- See Also:
-
commonParams
-
-
Constructor Details
-
StoryboardConverter
public StoryboardConverter()
-
-
Method Details
-
init
Description copied from interface:Converter
Initializes the Converter.This can be used to retrieve some configuration information from the XMap Descriptor.
-
convert
Description copied from interface:Converter
Main method to handle the real Conversion Job.Returned
BlobHolder
must implementCachableBlobHolder
, otherwise result won't be cached. -
getNumberOfThumbnails
-
fillWidthAndHeightParameters
protected void fillWidthAndHeightParameters(CmdParameters cmdParameters, Map<String, Serializable> parameters)
-