Package com.day.cq.dam.video
Class AbstractFFMpegProcess
- java.lang.Object
-
- com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
-
- com.day.cq.dam.video.AbstractFFMpegProcess
-
- All Implemented Interfaces:
WorkflowProcess
- Direct Known Subclasses:
FFMpegStoryBoardProcess
,FFMpegThumbnailProcess
,FFMpegTranscodeProcess
public abstract class AbstractFFMpegProcess extends AbstractAssetWorkflowProcess
TheAbstractFFMpegProcess
class prepares a video asset processed using FFMpeg
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROP_WORKING_DIR
FFmpeg working directory.-
Fields inherited from class com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
TYPE_JCR_PATH
-
-
Constructor Summary
Constructors Constructor Description AbstractFFMpegProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(WorkItem workItem, WorkflowSession wfSession, MetaDataMap metaData)
Executes a new Java process with the given
andWorkItem
.WorkflowSession
java.io.File
getWorkingDir()
-
-
-
Field Detail
-
PROP_WORKING_DIR
@Property("./logs/ffmpeg") public static final java.lang.String PROP_WORKING_DIR
FFmpeg working directory. If relative, relative to sling.home.- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute(WorkItem workItem, WorkflowSession wfSession, MetaDataMap metaData) throws WorkflowException
Description copied from interface:WorkflowProcess
Executes a new Java process with the given
andWorkItem
.WorkflowSession
- Parameters:
workItem
- The
that defines the newly startedWorkItem
JavaProcessNew
.wfSession
- The
that is used for starting theWorkflowSession
JavaProcess
.metaData
- Process specific arguments can be passed here- Throws:
WorkflowException
- Thrown in case something goes wrong during execution.
-
getWorkingDir
public java.io.File getWorkingDir()
-
-