Nodes/ComfyUI-RvTools_v2/VC-Filename Generator II
ComfyUI Node

VC-Filename Generator II

Name a whole playlist of clips to join

By r-vage·Created about a year ago·Updated 5 months ago· 23
VC-Filename Generator II
    • pipe
    path
    filename_prefixvc
    filename_suffix_start1
    filename_suffix_end5
    join_suffix_start1
    simple_combinefalse
    file_extension.mp4
    frame_load_cap81

    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_end vs. 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_start is separate from the input range on purpose; if they overlap, files overwrite. Keep the ranges apart.
    Category🫦 RvTools II/ Video

    Inputs (8)

    NameTypeDefaultDescription
    pathSTRING
    filename_prefixSTRINGvc
    filename_suffix_startINT1
    filename_suffix_endINT5
    join_suffix_startINT1
    simple_combineBOOLEANfalse
    file_extensionSTRING.mp4
    frame_load_capINT81

    Outputs (1)

    NameTypeDescription
    pipepipe