Nodes/VRGameDevGirl Video Enhancement Nodes/VRGDG Video Compare Slider
ComfyUI Node

VRGDG Video Compare Slider

The before/after wipe that settles whether your enhance pass actually helped

By vrgamegirl19·Created about a year ago·Updated about 7 hours ago· 718
VRGDG Video Compare Slider
  • before_images
  • after_images
  • before_video
  • after_video
  • before_video
  • after_video
slider_position0.50
before_labelBefore
after_labelAfter
show_labelstrue
looptrue
mutedtrue
record_duration5.0
before_selected
after_selected

Every "enhanced" video raises the same question: did that pass actually help, or did it just smear pixels around? The community's answer is the wipe - a draggable slider that shows the original on one side and the processed clip on the other. VRGDG Video Compare Slider is that tool, built for video and designed to sit at the end of an enhancement workflow so you can A/B the result before you commit to it. The name says "Image" in the category, but don't let that fool you - it compares full clips, not stills.

It's the video sibling of the pack's image comparison tools, and it belongs at the end of any pipeline where you're about to make a judgment call: the standalone video enhancer, the Z-Image upscale pass, the full Video Enhance anchor workflow. Enhancement is subjective and expensive; a wipe makes the decision honest and instant.

Two ways to feed it

The optional inputs accept either of two source types:

  • before_images / after_images - the modern path. Connect the IMAGE output from a video loader for each clip (VHS Load Video, or whatever loaded your frames).
  • before_video / after_video - the legacy path, VHS_FILENAMES outputs for people still wired up that way. Still supported, but the tooltip labels it legacy.

The knobs that matter

  • slider_position (default 0.5) - where the wipe starts; 0 is fully original, 1 is fully processed.
  • before_label / after_label and show_labels - keep the "Before"/"After" tags on so your own eyes don't lie to you.
  • loop (default on) - the comparison plays on repeat, which is what you want when you're staring at a subtle difference.
  • muted (default on) - sound off by default, and when you unmute, audio comes from the before video. That's a deliberate choice worth knowing: the original clip's audio is the reference.
  • record_duration (default 5s) - how long the browser's Record button captures the labeled preview, useful for grabbing a comparison GIF or clip to share.

The node passes before_video and after_video through as outputs, so it can sit inline in a chain rather than forcing you to dead-end it.

Using it well

A wipe only works if both sides are honest. Feed it the true original frames, not an already-enhanced intermediate, or you'll be comparing two enhancement passes and drawing the wrong conclusion. And keep in mind the upscaling rule the community keeps hammering: if the difference is hard to see at full wipe, the pass is doing "more pixels," not "more detail" - and that's a fine outcome for delivery, but it's not the same as a genuine restoration.

Install

Standard pack install: ComfyUI Manager → search vrgamedev, restart, hard-refresh the browser - the slider UI is front-end JavaScript, so a cached page is the usual reason the wipe won't drag. No models, no special dependencies beyond the pack's requirements. It's a cheap node to keep around at the end of any video workflow, and once you've used a wipe to reject a bad enhance pass, you'll never trust a plain preview again.

CategoryVRGDG/Image

Inputs (13)

NameTypeDefaultDescription
slider_positionFLOAT0.500–1Starting position of the before/after wipe.
before_labelSTRINGBeforeLabel shown over the original video.
after_labelSTRINGAfterLabel shown over the processed video.
show_labelsBOOLEANtrue
loopBOOLEANtrue
mutedBOOLEANtrueMute playback. When unmuted, audio comes from the before video.
record_durationFLOAT5.00.5–300How long the browser Record button captures the labeled slider preview.
before_imagesoptIMAGEConnect the IMAGE output from a video loader for the original video.
after_imagesoptIMAGEConnect the IMAGE output from a video loader for the processed video.
before_videooptVHS_FILENAMESLegacy: connect a Filenames output for the original video.
after_videooptVHS_FILENAMESLegacy: connect a Filenames output for the processed video.
before_selectedoptSTRINGVideo selected with the Choose Before Video button.
after_selectedoptSTRINGVideo selected with the Choose After Video button.

Outputs (2)

NameTypeDescription
before_videoVHS_FILENAMES
after_videoVHS_FILENAMES