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 createdFor 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 Classes Modifier and Type Class Description static class
FFMpegTranscodeProcess.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 FFMpegTranscodeProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
buildArguments(MetaDataMap metaData)
java.lang.String[]
getThumbnailConfigs(MetaDataMap metaData)
Reads the thumbnail configurations from the given meta data.java.lang.String[]
getVideoProfiles(MetaDataMap metaData)
-
Methods inherited from class com.day.cq.dam.video.AbstractFFMpegProcess
execute, getWorkingDir
-
-
-
-
Method Detail
-
getThumbnailConfigs
public java.lang.String[] getThumbnailConfigs(MetaDataMap metaData)
Reads the thumbnail configurations from the given meta data.- Parameters:
metaData
- configuration metadata- Returns:
- String[] of thumbnail configurations.
-
getVideoProfiles
public java.lang.String[] getVideoProfiles(MetaDataMap metaData)
-
buildArguments
public java.lang.String[] buildArguments(MetaDataMap metaData)
-
-