VRGDG Video Compare Slider
The before/after wipe that settles whether your enhance pass actually helped
- before_images
- after_images
- before_video
- after_video
- before_video
- after_video
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
IMAGEoutput from a video loader for each clip (VHS Load Video, or whatever loaded your frames). - before_video / after_video - the legacy path,
VHS_FILENAMESoutputs 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.
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| slider_position | FLOAT | 0.500–1 | Starting position of the before/after wipe. |
| before_label | STRING | Before | Label shown over the original video. |
| after_label | STRING | After | Label shown over the processed video. |
| show_labels | BOOLEAN | true | — |
| loop | BOOLEAN | true | — |
| muted | BOOLEAN | true | Mute playback. When unmuted, audio comes from the before video. |
| record_duration | FLOAT | 5.00.5–300 | How long the browser Record button captures the labeled slider preview. |
| before_imagesopt | IMAGE | Connect the IMAGE output from a video loader for the original video. | |
| after_imagesopt | IMAGE | Connect the IMAGE output from a video loader for the processed video. | |
| before_videoopt | VHS_FILENAMES | Legacy: connect a Filenames output for the original video. | |
| after_videoopt | VHS_FILENAMES | Legacy: connect a Filenames output for the processed video. | |
| before_selectedopt | STRING | Video selected with the Choose Before Video button. | |
| after_selectedopt | STRING | Video selected with the Choose After Video button. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| before_video | VHS_FILENAMES | — |
| after_video | VHS_FILENAMES | — |