VHS_FILENAMES_STRING_StreamingT2V
A tiny bridge that turns a VHS filename into a plain string
- filenames
- STRING
This is the least glamorous node in the pack, and that's fine - sometimes you just need a string. VHS_FILENAMES_STRING_StreamingT2V takes the VHS_FILENAMES output that VideoHelperSuite's nodes produce and converts it into a plain STRING. Specifically, the last filename from whatever the VHS node saved.
What it's for
VideoHelperSuite is the workhorse video pack for ComfyUI - its VHS_VideoCombine and related nodes are how most people actually save and concatenate video. The catch is that VHS hands back a special VHS_FILENAMES type, which is a tuple (a count plus a list of filenames), and lots of nodes can't consume that directly.
If you're running the StreamingT2V workflow the "save the short seed clip with VHS, then do the long step" way, you often want the actual saved filename as plain text - to log it, to display it, to feed a node that expects a path. This node exists for exactly that. It's not an output node, so it's meant to sit mid-graph and pass its string downstream.
How it works
No models, no VRAM, no downloads. It reads the filenames input and returns filenames[1][-1] - the last entry in the filename list. That's the whole mechanism. One input, one output:
- filenames - a
VHS_FILENAMESsocket, i.e. the output of a VideoHelperSuite node. - STRING - the last filename as plain text.
If the VHS node saved a handful of files, you get the last one in the list.
Installing
It ships with chaojie/ComfyUI_StreamingT2V, so install the pack once - ComfyUI Manager (search StreamingT2V) or cd ComfyUI/custom_nodes && git clone https://github.com/chaojie/ComfyUI_StreamingT2V, then restart. It has no requirements beyond the pack's normal install.
One dependency to know about: the VHS_FILENAMES input type comes from VideoHelperSuite, not from this pack. If ComfyUI complains about a missing input type when you add this node, VideoHelperSuite isn't installed - grab it from the Manager and restart. This node is a passenger on someone else's type system.
Gotchas
- If your graph errors with "input type VHS_FILENAMES not found", see above - that's a missing VideoHelperSuite, not a broken node.
- It returns one filename (the last). If you need the full list or want to pick by index, this isn't the node for that; it's a convenience bridge, not a file browser.
In a workflow full of 25GB checkpoints and multi-minute generations, a 5-line conversion node feels almost comically small. But the StreamingT2V workflows in this pack chain VHS output around, and this is the thing that keeps the file path flowing without a custom script. Sometimes the most useful node in a graph is the boring one.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| filenames | VHS_FILENAMES | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |