Type: nodetool.video.AddSubtitles
Namespace: nodetool.video
Description
Add subtitles to a video. video, subtitles, text, caption
Use cases:
1. Add translations or closed captions to videos
2. Include explanatory text or commentary in educational videos
3. Create lyric videos for music content
Properties
| Property | Type | Description | Default |
|---|---|---|---|
| video | video |
The input video to add subtitles to. | {'type': 'video', 'uri': '', 'asset_id': None, 'data': None, 'duration': None, 'format': None} |
| chunks | List[audio_chunk] |
Audio chunks to add as subtitles. | [] |
| font | font |
The font to use. | {'type': 'font', 'name': ''} |
| align | Enum['top', 'center', 'bottom'] |
Vertical alignment of subtitles. | bottom |
| font_size | int |
The font size. | 24 |
| font_color | color |
The font color. | {'type': 'color', 'value': '#FFFFFF'} |
Outputs
| Output | Type | Description |
|---|---|---|
| output | video |
Metadata
Related Nodes
Browse other nodes in the nodetool.video namespace.