Get Subtitle Stream
Picking caption track N from a ghost batch
- stream
Get Subtitle Stream completes the pack's stream-selection trio: video, audio, and now subtitles. In ComfyUI Core Video Nodes (Immac/ComfyUI-CoreVideoMocks) it's the node that's supposed to pull one subtitle track out of a batch - the English subs, not the Spanish ones, when both are riding in the same container.
Two inputs, same pattern as its siblings: streams (a force-input STRING, typically wired from Split Video's subtitle_streams output or Batch SubtitlesStreams) and stream_index - an INT, default 0, tooltip "The zero-based index of the stream to extract." One output, stream, a STRING. The design is identical to Get Audio Stream and Get Video Stream, which is worth knowing: this pack really commits to one API shape for everything.
What actually happens
You get "Mock Subtitle Stream" no matter what you feed it or which index you pick. Which, for subtitles, is a tiny shame - the source even carries a comment sketching out what a real stream object should hold: "it should contain what codec to use to decode it, and metadata... such as frame count." That's the author thinking out loud about the real spec, in the middle of the mock. It's the most human moment in the whole pack, and it's a good sign for the API design - just not for this node's usefulness.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/Immac/ComfyUI-CoreVideoMocks
Restart ComfyUI. No pip dependencies, no models, no ffmpeg - pure Python on ComfyUI's own folder_paths, or via ComfyUI Manager ("ComfyUI Core Video Nodes").
Verdict
Same as the rest of this RFC pack - GitHub calls it "A set of mock nodes for RFC purposes," it has two stars and zero community discussion, and nothing here produces real output. The useful takeaway for a beginner: subtitle tracks are a distinct stream type inside a video container, selected independently of the picture and sound. That's a real fact that pays off later. For actually working with captions in ComfyUI, that's VideoHelperSuite (VHS) or straight ffmpeg. This node is a placeholder you can safely ignore.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| streams | STRING | — | |
| stream_index | INT | 00–10000 | The zero-based index of the stream to extract. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| stream | STRING | — |