ComfyUI Node
Load ASS subtitles
Read ASS subtitle file contents with formatting options
Load ASS subtitles
- all_text
- dialog_only
- styles_info
◄ass_file_pathsubtitles.ass►
◄encodingutf-8►
◄max_lines0►
◄filter_style►
◄strip_formattingFalse►
CategoryComfyUI_ASSSSA
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| ass_file_path | STRING | subtitles.ass | — |
| encodingopt | COMBO | utf-8 | Character encoding of the ASS file |
| max_linesopt | INT | 00–10000 | Maximum number of lines to read (0 = all lines) |
| filter_styleopt | STRING | Only include lines with this style name (leave empty for all styles) | |
| strip_formattingopt | COMBO | False | Remove ASS formatting codes from text |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| all_text | STRING | — |
| dialog_only | STRING | — |
| styles_info | STRING | — |