Class VideoSlicer
- java.lang.Object
-
- org.nuxeo.ecm.platform.video.tools.VideoTool
-
- org.nuxeo.ecm.platform.video.tools.VideoSlicer
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringCOMMAND_SLICER_BY_COPYprotected static StringCOMMAND_SLICER_DEFAULTprotected static StringCOMMAND_SLICER_SEGMENTSprotected static StringCOMMAND_SLICER_START_ATstatic StringDURATION_PARAMstatic StringENCODE_PARAMstatic StringNAMEprotected static StringSEGMENTS_PATHstatic StringSTART_AT_PARAM-
Fields inherited from class org.nuxeo.ecm.platform.video.tools.VideoTool
commandLineName, name, OUTPUT_FILE_PATH_PARAM, OUTPUT_MIMETYPE_PARAM, SOURCE_FILE_PATH_PARAM, VIDEO_TOOLS_DIRECTORY
-
-
Constructor Summary
Constructors Constructor Description VideoSlicer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlobHolderbuildResult(String mimeType, Map<String,String> cmdParams)Returns aBlobHoldercontaining the result of the command.Map<String,String>setupParameters(BlobHolder blobHolder, Map<String,Object> parameters)-
Methods inherited from class org.nuxeo.ecm.platform.video.tools.VideoTool
cleanupInputs, getCommandLineName, getName, getTemporaryBlob
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
START_AT_PARAM
public static final String START_AT_PARAM
- See Also:
- Constant Field Values
-
DURATION_PARAM
public static final String DURATION_PARAM
- See Also:
- Constant Field Values
-
ENCODE_PARAM
public static final String ENCODE_PARAM
- See Also:
- Constant Field Values
-
SEGMENTS_PATH
protected static final String SEGMENTS_PATH
- See Also:
- Constant Field Values
-
COMMAND_SLICER_DEFAULT
protected static final String COMMAND_SLICER_DEFAULT
- See Also:
- Constant Field Values
-
COMMAND_SLICER_BY_COPY
protected static final String COMMAND_SLICER_BY_COPY
- See Also:
- Constant Field Values
-
COMMAND_SLICER_SEGMENTS
protected static final String COMMAND_SLICER_SEGMENTS
- See Also:
- Constant Field Values
-
COMMAND_SLICER_START_AT
protected static final String COMMAND_SLICER_START_AT
- See Also:
- Constant Field Values
-
-
Method Detail
-
setupParameters
public Map<String,String> setupParameters(BlobHolder blobHolder, Map<String,Object> parameters)
- Overrides:
setupParametersin classVideoTool
-
buildResult
public BlobHolder buildResult(String mimeType, Map<String,String> cmdParams)
Description copied from class:VideoToolReturns aBlobHoldercontaining the result of the command.- Overrides:
buildResultin classVideoTool- Parameters:
mimeType- the MIME typecmdParams- the parameters- Returns:
- the blob holder
-
-