VC-Filename Generator II
Name a whole playlist of clips to join
- pipe
The I version of this generator handles combine: exactly two clips stitched together. This one handles join: seamless-joining a whole run of clips - think ten short Wan segments edited into one continuous take. The source comment is the mission statement: "v2 is used for join only, it generates the list from/to."
Like its sibling, it never touches video. It's a path-and-name factory that builds two lists: a FILE list (the input clips you're joining, from filename_suffix_start up to filename_suffix_end) and a JOIN list (the concatenated output names, numbered from join_suffix_start). Then it packs everything into a pipe that the matching Pipe Out VC-Filename Generator II [RvTools] node unpacks for the join node.
The settings that matter:
- path - folder where your clips live. Raw text, required, raises an error if empty.
- filename_prefix (default
vc) - the stem your clips were saved under. - filename_suffix_start / filename_suffix_end (default 1 / 5) - the range of input clip numbers. Each becomes
prefix_NNNNN.mp4. - join_suffix_start (default 1) - where the
_join_output names start counting. - simple_combine (off) - if you want the simpler combine flavor instead of the full join list.
- file_extension (
.mp4) and frame_load_cap (81) - the per-clip load cap, 81 frames being the Wan standard.
Output is one pipe. The generator also forces IS_CHANGED to NaN, so it re-executes every queue - your file lists stay fresh when clips get re-rendered, instead of ComfyUI caching a stale list from a previous run. That's a deliberate and correct choice for a node that reads the filesystem indirectly.
Installing it
Comes with ComfyUI-RvTools_v2 - one install covers it: ComfyUI Manager → search ComfyUI-RvTools_v2, or clone https://github.com/r-vage/ComfyUI-RvTools_v2 into ComfyUI/custom_nodes, then restart. No model downloads, no keys; the pack's deps (torch, numpy, Pillow, opencv-python, pilgram) are already present in stock ComfyUI.
The pack is unmaintained; the README points to ComfyUI_Eclipse. The [RvTools] suffix comes from v2's rename release (v1's repo vanished at one point, breaking workflows and Manager's node display).
Common issues
- "Path is missing" - path is required and there's no picker. Type it, Windows-style backslashes (the shipped workflow uses
D:\AI\output\...); the code hardcodes\separators, so other OSes will fight it. - Wrong number of clips in the list. Check
filename_suffix_endvs.filename_suffix_start- the FILE list is exactly that inclusive range. If you set end below start you get one clip, not zero, because the loop still runs once. - Join names collide with input names.
join_suffix_startis separate from the input range on purpose; if they overlap, files overwrite. Keep the ranges apart.
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| path | STRING | — | |
| filename_prefix | STRING | vc | — |
| filename_suffix_start | INT | 1 | — |
| filename_suffix_end | INT | 5 | — |
| join_suffix_start | INT | 1 | — |
| simple_combine | BOOLEAN | false | — |
| file_extension | STRING | .mp4 | — |
| frame_load_cap | INT | 81 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| pipe | pipe | — |