public interface VideoToolsService
VideoTool.| Modifier and Type | Method and Description |
|---|---|
Blob |
concat(List<Blob> videos)
Concat the input video blobs into a single video blob.
|
Blob |
extractClosedCaptions(Blob video,
String outputFormat,
String startAt,
String endAt)
Extracts the closed captions from a video blob.
|
boolean |
isToolAvailable(String toolName)
Checks if a determined tool is available.
|
List<Blob> |
slice(Blob video,
String startAt,
String duration,
boolean encode)
Slices a video blob from a start time and the input duration.
|
Blob |
watermark(Blob video,
Blob picture,
String x,
String y)
Add a watermark to a video blob.
|
Blob extractClosedCaptions(Blob video, String outputFormat, String startAt, String endAt)
video - the input bloboutputFormat - the outformat of the captions (srt, txt, ttxt is the default)startAt - the start time in format "xx:xx"endAt - the end time in format "xx:xx"Blob concat(List<Blob> videos)
videos - List<Blob> slice(Blob video, String startAt, String duration, boolean encode)
video - the input blobstartAt - the start time in "xx:xx" formatduration - the duration of the sliced blob in secondsencode - option to re-encode the ouptut video blobBlob watermark(Blob video, Blob picture, String x, String y)
video - the input blobpicture - the picture blob to be used as the watermarkx - the x offset starting from the lefty - the y offset starting from the topboolean isToolAvailable(String toolName)
toolName - the name of the toolCopyright © 2019 Nuxeo. All rights reserved.