Project Folder Video v2 (Pipe)
Organize every video batch into dated project folders, automatically
- pipe
Project Folder Video v2 (Pipe) [RvTools] is a settings node that computes an output folder path and bundles video-loading parameters - resolution, frame rate, frame load cap, frame skipping - into a single pipe. It's the "where do my files go and how do I load frames" control for the author's video pipelines, and it exists because a bare output directory turns into an unmanageable pile after a hundred generation runs.
Why you'd reach for it
If you generate video in volume - Wan batch after Wan batch - flat output folders become chaos. This node builds a per-project, per-date, per-batch structure for you: with the defaults it produces something like ./vGEN/2026-08-16/batch_1, and each run you bump batch_number and the next set lands in its own folder. That's the difference between "where is the good take?" and knowing exactly where to look.
It also handles the input side of a video loop: the pipe carries frame_rate, frame_load_cap, skip_first_frames, and select_every_nth - the same frame-loading knobs the video loader downstream needs. In one node you've set both the destination and the input frame policy.
How it works
It builds the path from a few rules: project_root_name is the top folder; add_date_time can prepend or append a date_time_format stamp (default %Y-%m-%d); create_batch_folder adds a batch_folder_name (default batch_{}, with {} filled by batch_number). relative_path controls whether the path is ./project/... (relative, the default) or resolved inside ComfyUI's output directory. If you set skip_first_frames_calc to a batch index, it computes the skip as skip_first_frames + frame_load_cap * calc - the "continue where the last batch left off" trick for long videos.
The output pipe is an 8-element list: width, height, batch_size (hardcoded 1, not used), frame_rate, frame_load_cap, skip_first_frames, select_every_nth, and the path string. The resolution presets cover video aspect ratios (480×832, 576×1024, 720×1280, 1080×1920, and the 16:9 family) and override the manual width/height.
Inputs that matter: project_root_name, add_date_time, create_batch_folder, relative_path, resolution (or width/height), frame_rate, frame_load_cap, batch_number.
Output: pipe - the 8-element folder/frame settings bundle.
Install
Standard RvTools install:
- ComfyUI Manager → search "RvTools" → install ComfyUI-RvTools_v2 → restart.
- Or:
cd ComfyUI/custom_nodes && git clone https://github.com/r-vage/ComfyUI-RvTools_v2, then restart.
No model downloads.
Gotchas
The pipe this produces is the author's own format - it will only feed nodes in this pack (or a loader written to that 8-element shape). And relative_path deserves a second look: relative paths assume you'll know where "relative" points (ComfyUI's working directory), while absolute mode writes under the output dir; if files turn up somewhere unexpected, this toggle is the cause. Also, batch_size inside the pipe is hardcoded to 1 and marked "not used" in the source - don't go looking for a batch_size widget to change it.
Pack reality: RvTools v2 is deprecated (successor ComfyUI_Eclipse), and old v1 node names won't auto-map. For a folder-naming node that's a trivial remap, but verify your output paths after switching.
Inputs (15)
| Name | Type | Default | Description |
|---|---|---|---|
| project_root_name | STRING | vGEN | — |
| date_time_format | STRING | %Y-%m-%d | — |
| add_date_time | COMBO | postfix | 3 options: disable, prefix, postfix |
| batch_folder_name | STRING | batch_{} | — |
| create_batch_folder | BOOLEAN | true | — |
| relative_path | BOOLEAN | true | — |
| resolution | COMBO | 23 options: Custom, 480x832, 576x1024, --- 9:16 ---, 240x426 (240p), 360x640 (360p), +17 | |
| width | INT | 57616–32768 | — |
| height | INT | 102416–32768 | — |
| frame_rate | FLOAT | 30.008–240 | — |
| frame_load_cap | INT | 811–32768 | — |
| skip_first_frames | INT | 00–4096 | — |
| skip_first_frames_calc | INT | 00–18446744073709550000 | — |
| select_every_nth | INT | 11–100 | — |
| batch_number | INT | 11–18446744073709550000 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| pipe | pipe | — |