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 String
COMMAND_SLICER_BY_COPY
protected static String
COMMAND_SLICER_DEFAULT
protected static String
COMMAND_SLICER_SEGMENTS
protected static String
COMMAND_SLICER_START_AT
static String
DURATION_PARAM
static String
ENCODE_PARAM
static String
NAME
protected static String
SEGMENTS_PATH
static String
START_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 BlobHolder
buildResult(String mimeType, Map<String,String> cmdParams)
Returns aBlobHolder
containing 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:
setupParameters
in classVideoTool
-
buildResult
public BlobHolder buildResult(String mimeType, Map<String,String> cmdParams)
Description copied from class:VideoTool
Returns aBlobHolder
containing the result of the command.- Overrides:
buildResult
in classVideoTool
- Parameters:
mimeType
- the MIME typecmdParams
- the parameters- Returns:
- the blob holder
-
-