Package com.day.cq.dam.video
Class FFMpegTranscodeProcess
java.lang.Object
com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
com.day.cq.dam.video.AbstractFFMpegProcess
com.day.cq.dam.video.FFMpegTranscodeProcess
- All Implemented Interfaces:
WorkflowProcess
@Service
@Properties(@Property(name="process.label",value="Transcode Video",propertyPrivate=true))
public class FFMpegTranscodeProcess
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:
[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
Modifier and TypeMethodDescriptionString[]buildArguments(MetaDataMap metaData) String[]getThumbnailConfigs(MetaDataMap metaData) Reads the thumbnail configurations from the given meta data.String[]getVideoProfiles(MetaDataMap metaData) Methods inherited from class com.day.cq.dam.video.AbstractFFMpegProcess
execute, getWorkingDir
-
Constructor Details
-
FFMpegTranscodeProcess
public FFMpegTranscodeProcess()
-
-
Method Details
-
getThumbnailConfigs
Reads the thumbnail configurations from the given meta data.- Parameters:
metaData- configuration metadata- Returns:
- String[] of thumbnail configurations.
-
getVideoProfiles
-
buildArguments
-