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, getTemporaryBlob
public 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 VideoTool
public BlobHolder buildResult(String mimeType, Map<String,String> cmdParams)
VideoTool
BlobHolder
containing the result of the command.buildResult
in class VideoTool
mimeType
- the MIME typecmdParams
- the parametersCopyright © 2018 Nuxeo. All rights reserved.