-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathelement_config.yaml
More file actions
43 lines (36 loc) · 985 Bytes
/
element_config.yaml
File metadata and controls
43 lines (36 loc) · 985 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: "video-frame-extractor"
version: "1.0.0"
description: "Extract frames from video for AI analysis"
category: "media-processing"
author: "Custom Element"
inputs:
- name: "video_file"
type: "file"
formats: ["mp4", "avi", "mov", "mkv", "webm"]
required: true
description: "Video file to extract frames from"
- name: "frame_interval_seconds"
type: "integer"
default: 20
min: 1
max: 300
description: "Interval between extracted frames in seconds"
outputs:
- name: "frame_objects"
type: "array"
description: "Array of frame objects with timestamps and base64 images"
- name: "video_info"
type: "object"
description: "Video metadata (fps, duration, dimensions)"
implementation:
type: "python"
entry_point: "video_frame_extractor_element.py"
main_function: "webai_process_video"
dependencies:
- opencv-python>=4.5.0
- numpy>=1.21.0
tags:
- video
- frame-extraction
- computer-vision
- ai-analysis