ComfyUI Node
Video Compare (Side-by-Side)
Tiles up to six videos into one grid clip for side-by-side comparison.
Video Compare (Side-by-Side)
- video_1
- video_2
- video_3
- video_4
- video_5
- video_6
- image
- width
- height
- filepath
◄fps16.0►
◄layoutauto_grid►
◄gap0►
◄gap_color#000000►
◄match_moderesize►
◄frame_modeshortest►
◄filename_prefixVideoCompare►
◄save_outputfalse►
◄crf18►
Categoryhermes/video
Inputs (15)
| Name | Type | Default | Description |
|---|---|---|---|
| fps | FLOAT | 16.01–120 | Playback FPS. |
| layout | COMBO | auto_grid | auto_grid: fill square first, then add columns. row: horizontal line. column: vertical stack. |
| gap | INT | 00–256 | Gap in pixels between videos. |
| gap_color | STRING | #000000 | Gap color as hex. Also fills empty cells in grid. |
| match_mode | COMBO | resize | resize: scale into the cell keeping aspect, pad the rest. pad: no scaling, center-pad or crop to the cell. |
| frame_mode | COMBO | shortest | shortest: trim to shortest. longest: hold last frame of shorter videos. |
| filename_prefix | STRING | VideoCompare | Filename prefix. Supports subfolders like 'comparisons/v1_vs_v2'. |
| save_output | BOOLEAN | false | Save permanently to output/ folder. Off = preview-only (temp/). |
| crf | INT | 180–51 | h264 quality (lower = better, 18 is visually lossless). |
| video_1opt | IMAGE | Optional video #1. Any unconnected slot is skipped. | |
| video_2opt | IMAGE | Optional video #2. Any unconnected slot is skipped. | |
| video_3opt | IMAGE | Optional video #3. Any unconnected slot is skipped. | |
| video_4opt | IMAGE | Optional video #4. Any unconnected slot is skipped. | |
| video_5opt | IMAGE | Optional video #5. Any unconnected slot is skipped. | |
| video_6opt | IMAGE | Optional video #6. Any unconnected slot is skipped. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The tiled grid frames. |
| width | INT | Grid width. |
| height | INT | Grid height. |
| filepath | STRING | Absolute path of the written mp4. |