Subtitles(SubtitleStage)
The Subtitles node (SubtitleStage) applies subtitle cue text to a video in a ComfyTV workflow.
Subtitle Stage
Description
The Subtitles node (SubtitleStage) applies subtitle cue text to a video in a ComfyTV workflow. It accepts subtitle text in SRT or WebVTT format and produces a COMFYTV_VIDEO output for use by downstream video nodes. The node is grouped under ComfyTV/Video.
Inputs
subs
- Type:
STRING - Required: Yes
- Default:
""(empty string)
Subtitle cue text in SRT or WebVTT format. Populate this field with the timed subtitle entries you want the node to apply to the video. When left empty, no cue text is supplied.
video
- Type:
COMFYTV_VIDEO - Required: No
The source video to subtitle. Connect a ComfyTV video here. This input is optional, so the node can also be used as a stage within a larger pipeline where the video is supplied elsewhere in the workflow.
subs_text
- Type:
COMFYTV_TEXT - Required: No
Optional subtitle text input for ComfyTV text data. Use this when cue text is produced by another ComfyTV text node, providing an alternative way to feed subtitle content alongside the required subs widget.
Outputs
COMFYTV_VIDEO
The resulting video after the subtitle stage has been applied. Connect this output to downstream ComfyTV video nodes or to a video output/save node. It uses the same ComfyTV video type used elsewhere in the package.
Usage Notes
- Subtitle input should be valid SRT or WebVTT cue text. Plain text without cue timing may not produce correctly timed subtitles.
- The
subsfield is required but defaults to an empty string; leaving it empty means no cue text is supplied. videoandsubs_textare optional, so the node can be inserted into a larger ComfyTV pipeline where those values come from other nodes.- The node outputs only a video; subtitle data itself is not exposed as a separate output.
Comments
Sign in with GitHub to join the discussion.