Nodes/ComfyUI-RvTools_v2/Pipe Out Filename Construct
ComfyUI Node

Pipe Out Filename Construct

The video filename bus, unpacked

By r-vage·Created about a year ago·Updated 5 months ago· 23
Pipe Out Filename Construct
  • pipe
  • pipe
  • mask_frames_last
  • mask_frames_first
  • frame_load_cap
  • filename_1
  • filename_2
  • filename_3
  • filename_4
  • filename_5
  • filename_join_1
  • filename_join_2
  • filename_join_3
  • filename_join_4
  • filename_join_5

Pipe Out Filename Construct is a narrow, video-flavored pipe splitter: pipe in, and out come mask_frames_last, mask_frames_first, frame_load_cap, five filename_1filename_5 strings, and five filename_join_1filename_join_5 strings, with the pipe passed through.

If that list looks oddly specific, it's because this node comes from the author's own video workflows - the kind that interpolate between frames, mask the first and last frames of a clip, cap how many frames get loaded, and build output filenames from a few pieces. mask_frames_last / mask_frames_first are exactly the values you'd feed a frame-masking or in-betweening step, frame_load_cap is the familiar "only load the first N frames" knob from video pipelines, and the filename fields let you assemble a sensible output name from parts and joins. This pipe is the little envelope that carries all of that to wherever the video-save and mask logic lives.

Mechanically it's the same positional unpack as every RvTools Out node - execute assigns the tuple to the return names in order and forwards the pipe - so the contract is slot order. The inputs have to be built by the matching video pipe In node in the pack (the author's Project Folder Video and video pipe nodes use exactly these fields); a pipe from an unrelated RvTools family won't decode here.

Install. ComfyUI Manager → search "RvTools" → install ComfyUI-RvTools_v2 and restart, or:

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

No models or keys. Manual clones: pip install -r requirements.txt (opencv-python, pynvml, piexif, Pillow, pilgram).

The catches. This one is more niche than most: it only earns its place if you're reproducing the author's video-pipeline pipe layout - mask-frame numbers and filename construction are a pretty specific combination. It's also flagged DEPRECATED, and the pack README says RvTools v2 is superseded by ComfyUI_Eclipse. If you inherited a workflow with this node in it, it loads and unpacks fine - but it's a legacy piece of a legacy pack, and if your goal is just "give my video a sensible filename," the modern path is probably the filename-template nodes in ComfyUI_Eclipse or WAS/other maintained packs. The one genuine pitfall is the usual one: feed it a pipe that doesn't have this exact 12-slot layout and you'll get an unpacking error, not a graceful message.

Category🫦 RvTools II/ DEPRECATED

Inputs (1)

NameTypeDefaultDescription
pipepipe

Outputs (14)

NameTypeDescription
pipepipe
mask_frames_lastINT
mask_frames_firstINT
frame_load_capINT
filename_1STRING
filename_2STRING
filename_3STRING
filename_4STRING
filename_5STRING
filename_join_1STRING
filename_join_2STRING
filename_join_3STRING
filename_join_4STRING
filename_join_5STRING