ComfyUI Node
Video Overlay with Subtitles (画中画+字幕)
A ComfyUI node in video with 23 inputs and 1 output.
Video Overlay with Subtitles (画中画+字幕)
- alignment
- video_path
◄big_video_path►
◄small_video_path►
◄mask_video_path►
◄opacity1.00►
◄positionright_bottom►
◄margin_x0►
◄margin_y0►
◄size_ratio0.25►
◄big_video_audio_volume0.0►
◄small_video_audio_volume1.0►
◄video_fps24►
◄big_video_speed1.8►
◄small_video_speed1.0►
◄font_pathYRDZST Semibold.ttf►
◄font_size48►
◄font_colorwhite►
◄x_position0►
◄y_position0►
◄subtitle_positionbottom_center►
◄max_subtitle_width0►
◄subtitle_bg_opacity0.7►
◄subtitle_bg_colorblack►
Categoryvideo
Inputs (23)
| Name | Type | Default | Description |
|---|---|---|---|
| big_video_path | STRING | — | |
| small_video_path | STRING | — | |
| mask_video_path | STRING | — | |
| opacity | FLOAT | 1.000–1 | — |
| position | COMBO | right_bottom | 5 options: right_bottom, right_top, left_bottom, left_top, center |
| margin_x | INT | 00–500 | — |
| margin_y | INT | 00–500 | — |
| size_ratio | FLOAT | 0.250.1–1 | — |
| big_video_audio_volume | FLOAT | 0.00–2 | — |
| small_video_audio_volume | FLOAT | 1.00–2 | — |
| video_fps | FLOAT | 241–120 | — |
| big_video_speed | FLOAT | 1.80.25–4 | — |
| small_video_speed | FLOAT | 1.00.25–4 | — |
| alignmentopt | whisper_alignment | — | |
| font_pathopt | COMBO | YRDZST Semibold.ttf | 18 options: YRDZST Semibold.ttf, YoungSerif-Regular.ttf, impact.ttf, Oswald-Bold.ttf, Roboto-Regular copy.ttf, PixelifySans-Bold.ttf, +12 |
| font_sizeopt | INT | 4812–200 | — |
| font_coloropt | STRING | white | — |
| x_positionopt | INT | 0-1000–3000 | — |
| y_positionopt | INT | 0-1000–3000 | — |
| subtitle_positionopt | COMBO | bottom_center | 6 options: bottom_center, top_center, bottom_left, bottom_right, center, custom |
| max_subtitle_widthopt | INT | 00–4000 | — |
| subtitle_bg_opacityopt | FLOAT | 0.70–1 | — |
| subtitle_bg_coloropt | STRING | black | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| video_path | STRING | — |