Nodes/ComfyUI-Fossiel-QoL-Nodes/Fossiel Central Control Lite
ComfyUI Node

Fossiel Central Control Lite

One Node to Run Your Multi-Clip Video Math

By Fossiel·Created 10 months ago·Updated 5 months ago· 1
Fossiel Central Control Lite
  • image
  • Man_Res_Width
  • Man_Res_Height
  • Calc_Res_Width
  • Calc_Res_Height
  • Vid_Length
  • Overlap
  • Gen_Num
  • Start_Index
  • End_Index
  • batch_count
  • First_Gen
Manual_Resolution_Width512
Manual_Resolution_Height512
Target_Resolution_Width512
Target_Resolution_Height512
Max_Resolution_Width512
Max_Resolution_Height512
Video_Length81
Overlap_Length8
Current_Generation1

If you've ever extended an AI video by generating clip after clip and stitching them, you know the arithmetic hell: what resolution is my sequence? What frame does clip 4 start on? How much overlap do I need so the joins don't jump? That's exactly the job this node automates.

Fossiel Central Control Lite is the trimmer sibling of the pack's flagship Central Control v2. It's a hub node - you set resolution, video length, overlap, and which "generation" (clip) you're making, and it spits out a set of calculated values you wire into your Empty Latent, your KSampler, and your frame-range logic. All the fiddly math happens in one place instead of a web of primitive nodes.

What it computes

The source is refreshingly transparent - pure math, no magic:

  • Manual resolution - your Manual_Resolution_Width / Height passed straight through (clamped to a 64px minimum).
  • Calculated resolution - it takes your target aspect, reduces it to lowest terms, forces both dimensions even, then scales it up as large as possible while staying inside Max_Resolution_Width × Height pixels. This is the resolution you actually generate at.
  • Video length snapping - video models want either 1 frame or 4k+1 frames (5, 9, 13…). Give it 81 and you get 81; give it 80 and it snaps up to the next valid length. Capped at 301.
  • Start/End indices - with Current_Generation and the overlap you set, it computes which frame your clip starts and ends on, so consecutive clips overlap by exactly the right amount.
  • batch_count and First_Gen - if you feed an optional image, it reads the batch size off it, and First_Gen fires true only for generation 1, which is handy for doing something different on the first clip (like a different denoise or no context frames).

Inputs and outputs

All the inputs are plain integers you'll recognize: Manual_Resolution_Width/Height, Target_Resolution_Width/Height, Max_Resolution_Width/Height, Video_Length, Overlap_Length, Current_Generation, plus an optional image. The outputs are 11 named values - Man_Res_Width/Height, Calc_Res_Width/Height, Vid_Length, Overlap, Gen_Num, Start_Index, End_Index, batch_count, and First_Gen (a boolean).

What's not here vs. the v2: no frame rate, no timing in seconds, no sampler/CFG outputs, no file naming. Lite is for people who want the resolution-and-frame math without the whole control panel. It's also marked as an output node, so its values show up in the UI when you run.

Installing it

Manager search "ComfyUI-Fossiel-QoL-Nodes", or:

cd ComfyUI/custom_nodes
git clone https://github.com/Fossiel/ComfyUI-Fossiel-QoL-Nodes
pip install -r ComfyUI-Fossiel-QoL-Nodes/requirements.txt

Restart and look under Fossiel. No models to download.

When to use it vs. v2

If you're doing serious multi-clip video work - especially extending a sequence where every clip needs consistent resolution and clean overlaps - the v2's timing and naming outputs eventually pull their weight. But if you just want your resolution and frame-index math in one tidy node, or you find v2 overwhelming, Lite is the honest recommendation. Start here, and if you find yourself wiring a Frame_Rate constant on the side, you've just discovered why v2 exists.

CategoryFossiel

Inputs (10)

NameTypeDefaultDescription
Manual_Resolution_WidthINT51264–4096
Manual_Resolution_HeightINT51264–4096
Target_Resolution_WidthINT5121–4096
Target_Resolution_HeightINT5121–4096
Max_Resolution_WidthINT51264–4096
Max_Resolution_HeightINT51264–4096
Video_LengthINT811–301
Overlap_LengthINT80–80
Current_GenerationINT11–100
imageoptIMAGE

Outputs (11)

NameTypeDescription
Man_Res_WidthINT
Man_Res_HeightINT
Calc_Res_WidthINT
Calc_Res_HeightINT
Vid_LengthINT
OverlapINT
Gen_NumINT
Start_IndexINT
End_IndexINT
batch_countINT
First_GenBOOLEAN