Package com.day.cq.dam.video
Class FFMpegThumbnailProcess
- java.lang.Object
-
- com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
-
- com.day.cq.dam.video.AbstractFFMpegProcess
-
- com.day.cq.dam.video.FFMpegThumbnailProcess
-
- All Implemented Interfaces:
WorkflowProcess
@Service @Properties(@Property(name="process.label",value="Create Video Thumbnails",propertyPrivate=true)) public class FFMpegThumbnailProcess extends AbstractFFMpegProcess
Workflow process that calls FFMPEG on the command line to create thumbnails of the image. You can specify the dimension of the thumbnails to be createdFor example, using the following workflow step arguments:
count:3,index:1,start:10,[140x100],[48x48]
Will create thumbnails of size 140x100 and 48x48 with a black letterbox/pillarbox
This will only happen for assets having a video-based mime-type, others are ignored.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FFMpegThumbnailProcess.Arguments
The available arguments to this process implementation.
-
Field Summary
-
Fields inherited from class com.day.cq.dam.video.AbstractFFMpegProcess
PROP_WORKING_DIR
-
Fields inherited from class com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
TYPE_JCR_PATH
-
-
Constructor Summary
Constructors Constructor Description FFMpegThumbnailProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
buildArguments(MetaDataMap metaData)
-
Methods inherited from class com.day.cq.dam.video.AbstractFFMpegProcess
execute, getWorkingDir
-
-
-
-
Method Detail
-
buildArguments
public java.lang.String[] buildArguments(MetaDataMap metaData)
-
-