Nodes/ComfyUI-NynxzNodes/Compare Video Options
ComfyUI Node

Compare Video Options

The quiet little settings node that controls every Nynxz compare video

By Nynxz·Created 10 months ago·Updated a day ago· 0
Compare Video Options
    • options
    background_color#000000
    scale_modecontain
    fps8
    upscale_methodlanczos
    fade_width20
    wipe_angle-1

    Compare Video Options doesn't make a picture of anything. It makes a little config object, and it exists so the two "Create Compare Video" nodes in ComfyUI-NynxzNodes don't each have to grow ten inputs. If you're happy with defaults you'll never touch it - every compare node works fine with no options wired, falling back to sensible values. But the moment you want the clip to look right rather than merely exist, this is where you go.

    What it actually controls

    Everything about how the two images are framed and how fast the video plays:

    • fps (default 8) - playback rate of the resulting clip. 8 is a deliberate, gentle default for looped before/afters; push toward 24–30 if you're making an actual video and want it to feel like one.
    • scale_mode (default contain) - how each image fits the shared canvas. contain letterboxes to show the whole frame; cover center-crops to fill; stretch distorts. Since a compare is only meaningful when both versions cover the same thing, this quietly decides whether your two shots line up.
    • upscale_method (default lanczos) - resampling used when the images are resized to the common canvas. Lanczos is the right default; the list also has nearest, bilinear, bicubic and area for when you're comparing pixel art or want to be extra lazy-friendly.
    • background_color (default #000000) - fill for the areas contain leaves uncovered. Black is the standard gallery look; white suits clean "studio" comparisons.
    • fade_width (default 20px) - belongs to the wipe compare: the softness of the divider between the two images. 0 gives a razor edge; higher feathers it so the sweep reads as a blend rather than a cut.

    There's also a hidden-in-plain-sight wipe_angle (default -1). Leave it at -1 and the wipe uses its per-node wipe_direction; set an explicit angle in degrees and it overrides the direction for angled sweeps that none of the cardinal options express.

    The single output is the options object (NYNXZ_COMPAREVIDEO_OPTS), which plugs into the optional options socket on Create Fade Compare Video or Create Wipe Compare Video. One node can feed several compare nodes, which is handy when you're generating a whole gallery of before/afters and want every clip at the same fps and framing.

    Why a settings object instead of inputs?

    Honestly, it's a design taste thing and this pack leans into it everywhere (the LoRA stack, the Fusion grid, the Regions tables are all data-structure-in, data-structure-out nodes). The payoff is that the compare nodes stay a clean two-image in, frames-out primitive, and the fiddly stuff lives in one reusable place. The cost is one extra node on the canvas and a moment of "wait, where's the fps setting?" - it's on this node, not the video node.

    Install & notes

    Same as the rest of the pack: ComfyUI Manager → search "NynxzNodes", or git clone https://github.com/Nynxz/ComfyUI-NynxzNodes into ComfyUI/custom_nodes. No Python dependencies. If you clone by hand the built UI won't be there (web/ is gitignored) - run pnpm install && pnpm build in the folder, or take the registry build via Manager. Restart after installing.

    The trap to avoid: forgetting this node even exists and wondering why the fade compare node doesn't have an fps field. Wire an Options node in when your clip is stuttery (raise fps), has black bars you don't want (cover instead of contain, or change background_color), or has a harsh wipe edge (raise fade_width).

    CategoryNynxz/Compare

    Inputs (6)

    NameTypeDefaultDescription
    background_colorSTRING#000000Background color for the preview
    scale_modeCOMBOcontainChoose how images are scaled to fit the target size
    fpsFLOAT81–60Frames per second of the compare video
    upscale_methodCOMBOlanczosResampling method used when resizing images
    fade_widthINT200–100Width of the fade transition in pixels
    wipe_angleoptINT-1-1–360Angle of the wipe in degrees (-1 for direction-based)

    Outputs (1)

    NameTypeDescription
    optionsNYNXZ_COMPAREVIDEO_OPTSCompare Video Options Object