public class VideoSlicer extends VideoTool
VideoTool for slicing video blobs.| Modifier and Type | Field and 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 |
commandLineName, name, OUTPUT_FILE_PATH_PARAM, OUTPUT_MIMETYPE_PARAM, SOURCE_FILE_PATH_PARAM, VIDEO_TOOLS_DIRECTORY| Constructor and Description |
|---|
VideoSlicer() |
| Modifier and Type | Method and Description |
|---|---|
BlobHolder |
buildResult(String mimeType,
Map<String,String> cmdParams)
Returns a
BlobHolder containing the result of the command. |
Map<String,String> |
setupParameters(BlobHolder blobHolder,
Map<String,Object> parameters) |
cleanupInputs, getCommandLineName, getName, getTemporaryBlobpublic static final String NAME
public static final String START_AT_PARAM
public static final String DURATION_PARAM
public static final String ENCODE_PARAM
protected static final String SEGMENTS_PATH
protected static final String COMMAND_SLICER_DEFAULT
protected static final String COMMAND_SLICER_BY_COPY
protected static final String COMMAND_SLICER_SEGMENTS
protected static final String COMMAND_SLICER_START_AT
public VideoSlicer()
public Map<String,String> setupParameters(BlobHolder blobHolder, Map<String,Object> parameters)
setupParameters in class VideoToolpublic BlobHolder buildResult(String mimeType, Map<String,String> cmdParams)
VideoToolBlobHolder containing the result of the command.buildResult in class VideoToolmimeType - the MIME typecmdParams - the parametersCopyright © 2019 Nuxeo. All rights reserved.