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 created
For 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 ClassesModifier and TypeClassDescriptionstatic enumThe available arguments to this process implementation. -
Field Summary
Fields inherited from class com.day.cq.dam.video.AbstractFFMpegProcess
PROP_WORKING_DIRFields inherited from class com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
TYPE_JCR_PATH -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.day.cq.dam.video.AbstractFFMpegProcess
execute, getWorkingDir
-
Constructor Details
-
FFMpegThumbnailProcess
public FFMpegThumbnailProcess()
-
-
Method Details
-
buildArguments
-