Class ScreenshotConverter
java.lang.Object
org.nuxeo.ecm.platform.video.convert.ScreenshotConverter
- All Implemented Interfaces:
Converter
Extract a JPEG screenshot of the video at a given time offset (position).
- Author:
- ogrisel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(BlobHolder blobHolder, Map<String, Serializable> parameters) Main method to handle the real Conversion Job.voidinit(ConverterDescriptor descriptor) Initializes the Converter.
-
Field Details
-
FFMPEG_SCREENSHOT_COMMAND
- See Also:
-
-
Constructor Details
-
ScreenshotConverter
public ScreenshotConverter()
-
-
Method Details
-
init
Description copied from interface:ConverterInitializes 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) throws ConversionExceptionDescription copied from interface:ConverterMain method to handle the real Conversion Job.Returned
BlobHoldermust implementCachableBlobHolder, otherwise result won't be cached.- Specified by:
convertin interfaceConverter- Throws:
ConversionException
-