The Video component is an operator component that allows users to extract and manipulate video from different sources. It can carry out the following tasks:
#Release Stage
Alpha
#Configuration
The component definition and tasks are defined in the definition.json and tasks.json files respectively.
#Supported Tasks
#Subsample Video
Subsample video into a new video
Input | ID | Type | Description |
---|---|---|---|
Task ID (required) | task | string | TASK_SUBSAMPLE_VIDEO |
Video (required) | video | string | Base64 encoded video |
FPS (required) | fps | number | Frames per second |
Start Time | start-time | string | Start time in seconds, format is hh:mm |
Duration | duration | string | Duration in seconds, format is hh:mm |
Output | ID | Type | Description |
---|---|---|---|
Video | video | string | Base64 encoded sub-sampled video |
#Subsample Video Frames
Subsample video into frames
Input | ID | Type | Description |
---|---|---|---|
Task ID (required) | task | string | TASK_SUBSAMPLE_VIDEO_FRAMES |
Video (required) | video | string | Base64 encoded video |
FPS (required) | fps | number | Frames per second |
Start Time | start-time | string | Start time in seconds, format is hh:mm |
Duration | duration | string | Duration in seconds, format is hh:mm |
Output | ID | Type | Description |
---|---|---|---|
Frames | frames | array[string] | Base64 encoded sub-sampled frames |