Join Windows
Your upscale ran in windows. This glues the pieces back into one shot.
- images
The seam problem nobody warns you about
Anything that upscales a video on consumer VRAM ends up doing it in chunks. SeedVR2 has to: on a 16 GB card, one pass of a 3840×2160 result holds about 25 frames, a 1920×1080 result 121. So a long shot gets split into windows, each rendered separately into its own folder, and then you're staring at eleven subfolders of PNGs wondering how they become a clip again.
You can't just batch-load them back. The windows overlap on purpose, because that's how the thing blends the temporal boundary. Concatenate the folders and the overlap frames play twice. Drop them and you get a visible hitch at every junction. Join Windows is the node that knows the difference. It's one of the sixteen nodes in Paint a plate - AInVFX's VFX tool, winner of comfy.org's Open Source Higgsfield contest in November 2026 - and it exists because that pack genuinely has to upscale 4K shots in windows, then hand the result to Save Plate as one continuous batch.
Unglamorous? Completely. But it's the last mile of every long-shot upscale, and the plumbing layer is where these projects actually die.
How it works
Give it a parent folder and it lists the subfolders inside it, sorted by name, and treats each one as a window. Inside each window it finds the largest numbered image sequence and reads it in order - with the same rule a review player uses: a missing frame number holds the frame before it, and frames on twos aren't mistaken for a sequence full of gaps.
Then it decodes one window at a time into a single preallocated float32 batch. That's the memory trick, and it's the same reasoning as Composite Frames: no per-window copies piling up. Where two neighbouring windows share frames, it crossfades them, with the later window's weight rising from 1/(share+1) to share/(share+1) across the shared run. The output length is the sum of the windows minus the overlap, so nothing is played twice.
The fields that matter
folder is required, and it takes a path the way Load Plate does - relative to ComfyUI's input or output folder, with an output/ prefix for output. Symlinks inside it aren't followed, and absolute paths are refused unless ComfyUI is on the machine you're browsing from.
Then the four optional ones, which is where the actual thought goes:
- count - frames in each window. Each window reads its last
countframes, so a window job that got run twice counts once. 0 reads every frame in every folder. - max_frames - frames in the whole shot. The last window reads whatever's left after the others, so a short final window is expected rather than an error. 0 reads everything.
- counts - per-window counts as a comma list, if your windows aren't all the same size. Empty means "use
countfor all of them". - share - frames two neighbours share, which get crossfaded. 0 means the windows follow one another with no overlap.
Output is a single images batch. In the pack's own workflow it goes straight into Save Plate, with Save Movie alongside it for the viewer's copy. In your graph, Save Image or a video combine does the job.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/AInVFX/ainvfx-paintaplate
python -m pip install -r ainvfx-paintaplate/requirements.txt
Or ComfyUI Manager → search Paint a plate → install AInVFX Paint a plate, then restart. Requirements are just OpenEXR and opencolorio; the 79 GB of models are for the app itself, not this node.
Where people get burned
Leaving count at 0 after a re-run. The whole reason count reads the newest frames is that a window job which runs twice writes a second numbered set into the same folder - the same way Save Image continues its counter. With count set, the old set is invisible. With it at 0, you get both, and your shot suddenly has 146 frames and a stutter where the duplicate sits. If you re-render windows, set count.
Alphabetical order is alphabetical. window_10 sorts before window_2. If a window lands in the wrong place in the timeline, that's almost always zero-padding, not the node.
It raises, and the message tells you which folder. "Join Windows: window foo holds 40 of its 55 frames" means that window's job died partway - not a path problem. Same for "no window folder in …", which is what a typo in folder looks like. Both are worth more than a silent pad.
Get share from the renderer, not from hope. If your upscaler overlapped 4 frames between windows, set share 4. Too low and you keep both copies of the overlap as a stutter; too high and you crossfade across genuinely different content, which reads as a soft smear.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| folder | STRING | The windows' parent folder, a path as Load Plate takes it. | |
| countopt | INT | 00–4096 | Frames in each window. Each window reads its last 'count' frames, so a window saved twice counts once. 0 reads every frame. |
| max_framesopt | INT | 00–4096 | Frames in the shot. The last window reads what is left after the others. 0 reads every frame. |
| countsopt | STRING | Frames in each window, in order, separated by commas: each window reads its newest frames. Empty: 'count' for every window. | |
| shareopt | INT | 00–4096 | Frames two neighbouring windows share, which the join crossfades: the later window's weight rises across them. 0: windows that follow one another. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |