Nodes/ComfyUI-ASSSSA/Load ASS subtitles
ComfyUI Node

Load ASS subtitles

Read ASS subtitle file contents with formatting options

By HighDoping·Created about a year ago·Updated about a year ago· 1
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)

    NameTypeDefaultDescription
    ass_file_pathSTRINGsubtitles.ass
    encodingoptCOMBOutf-8Character encoding of the ASS file
    max_linesoptINT00–10000Maximum number of lines to read (0 = all lines)
    filter_styleoptSTRINGOnly include lines with this style name (leave empty for all styles)
    strip_formattingoptCOMBOFalseRemove ASS formatting codes from text

    Outputs (3)

    NameTypeDescription
    all_textSTRING
    dialog_onlySTRING
    styles_infoSTRING