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

Pipe Out VC-Filename Generator II

Unpack your video file paths and the join list — VC Filename Generator II

By r-vage·Created about a year ago·Updated 5 months ago· 23
Pipe Out VC-Filename Generator II
  • pipe
  • path
  • rel_path
  • frame_load_cap
  • simple_combine
  • files
  • files_join

Video work in ComfyUI generates a lot of filenames, and this node exists to hand them out. "Pipe Out VC-Filename Generator II" is the unpack half of the "VC-Filename Generator II [RvTools]" pipe pair - the video-combine filename utility that bundles paths, frame caps and file lists into one wire. This node splits that bundle back into plain strings and numbers at the point of use.

Unlike most of the RvTools pipe family, this one doesn't pass a pipe output through. Its outputs are, in order: path, rel_path, frame_load_cap, simple_combine, files, and files_join. The first two are the interesting ones:

  • path (STRING) - the full output path for the video being generated.
  • rel_path (STRING) - the same path with the output directory prefix stripped off, so you get the relative path that other nodes and save operations expect. It's computed with a regex that chops everything up to the output root.
  • frame_load_cap (INT) - how many frames to load, carried through from the generator.
  • simple_combine (BOOLEAN) - a combine-mode flag for the video-join step.
  • files and files_join (STRING) - the payload: file names pulled out of the generator's internal dicts (FILE and JOIN), cleaned of brackets and quotes so they're usable as plain text.

The whole thing is a relay. Read the source and you'll see the pipe's contents unpacked and returned, with the files strings stringified and tidied. No video is touched, nothing is encoded. All the real work happened in "VC-Filename Generator II" upstream, where the paths and file lists were assembled.

When do you use it? Any workflow that combines or joins video clips - the pack's own Combine_Join_Test workflow wires "VC-Filename Generator II" through this Pipe Out into the combine nodes, alongside the I version for the crop/mask side. If you're stitching clips and want the source paths and the join list to ride one wire without a tangle of string connections, this is the clean end of that pipe.

Installing it

Ships in ComfyUI-RvTools_v2. ComfyUI Manager: search "ComfyUI-RvTools_v2". Or:

cd ComfyUI/custom_nodes
git clone https://github.com/r-vage/ComfyUI-RvTools_v2

Restart ComfyUI. Dependencies (torch, numpy, Pillow, opencv-python, pilgram, pynvml, piexif) install through Manager; no models, no keys.

Where people get burned

  • No pipe passthrough. Feed this node a pipe and you get outputs, but you can't keep routing the same pipe onward - wire it where the file info is consumed, not in the middle of a chain.
  • Wrong generator, wrong shape. The II unpacker pairs with "VC-Filename Generator II". The I version carries different fields (mask counts instead of simple_combine/files_join), so mixing them throws a tuple ValueError at runtime.
  • Deprecation. The RvTools v2 pack is unmaintained and the README points to ComfyUI_Eclipse. It works as installed, but the video nodes are exactly the ones to re-check in the successor pack before building new pipelines.
Category🫦 RvTools II/ Video

Inputs (1)

NameTypeDefaultDescription
pipepipe

Outputs (6)

NameTypeDescription
pathSTRING
rel_pathSTRING
frame_load_capINT
simple_combineBOOLEAN
filesSTRING
files_joinSTRING