ComfyUI-VideoComparer
Synchronized A/B swipe video comparison, browser recording, and Save Video integration for ComfyUI.
Nodes (1)
ComfyUI Video Comparer
<img src="assets/registry-banner.png" width="100%" alt="ComfyUI Video Comparer banner">Compare two core ComfyUI VIDEO inputs with a synchronized swipe preview, then
record the comparison and send it to the core Save Video node.
ComfyUI 코어 VIDEO 두 개를 동기화된 스와이프로 비교하고, 비교 장면을 녹화해
코어 Save Video 노드로 전달합니다.
GIF previews play automatically; click one to open the MP4 with audio.
GIF는 자동 재생되며, 누르면 소리가 포함된 MP4를 볼 수 있습니다.
English
Features
- Synchronized play, pause, seek, loop, and drift correction.
- Move the divider anywhere in the preview to reveal video B over video A.
- A/B labels, responsive preview, audio toggle, and 50% reset.
- Browser recording of the video, divider, handle, and labels.
- Direct
recorded_videooutput for the coreSave Videonode. - No models or third-party Python packages.
Requirements and installation
- ComfyUI
0.33.1or newer. - Python
3.10or newer. - A current Chromium-based browser is recommended for recording.
Install video-comparer from ComfyUI Manager, or clone it manually:
cd ComfyUI/custom_nodes
git clone https://github.com/AIEGOBOT/ComfyUI-VideoComparer.git
Restart ComfyUI and refresh the browser. There is no requirements.txt because
the node has no additional Python dependencies.
Quickstart
- Add two core
Load Videonodes. - Add
Video Comparer (Swipe)fromvideo/preview. - Connect the original to
video_aand the comparison tovideo_b. - Connect
recorded_videoto the coreSave Videonode before recording. - Queue once, press
REC, move the divider, and pressRECagain to stop.
The shared duration is the shorter input duration. Recording is limited to 2
minutes and 512 MiB. Before a recording exists, recorded_video intentionally
blocks execution so the first preview queue cannot save a source video.
Example workflows
video_comparer_smoke.json: model-free red/blue compatibility test.video_comparer_load_and_record.json: practical load, compare, record, and save layout.- Example workflow guide
Inputs, output, and storage
| Item | Purpose |
|---|---|
| video_a | Base/original core VIDEO and optional audio source. |
| video_b | Comparison core VIDEO, revealed from the left. |
| recorded_video | Latest swipe recording for core Save Video. |
Temporary previews use ComfyUI's temp directory. Completed WebM recordings remain
in ComfyUI/input/video_comparer_recordings until deleted. Videos stay on the
local ComfyUI server and browser.
If the node is missing, restart ComfyUI, refresh the browser, and inspect the
startup log. If a preview is empty, connect two core VIDEO inputs and queue once.
Use the core Load Video node for MP4 files; VHS_FILENAMES is a different type.
한국어
기능
- 재생, 일시정지, 탐색, 반복과 재생 오차 자동 보정.
- 미리보기에서 구분선을 움직여 비디오 A 위에 비디오 B를 표시.
- A/B 라벨, 반응형 미리보기, 오디오 버튼과 50% 초기화.
- 영상, 구분선, 핸들과 라벨을 함께 브라우저에서 녹화.
- 코어
Save Video로 연결하는recorded_video출력. - 추가 모델과 외부 Python 패키지가 필요하지 않음.
요구 사항과 설치
- ComfyUI
0.33.1이상. - Python
3.10이상. - 녹화에는 최신 Chromium 계열 브라우저 권장.
ComfyUI Manager에서 video-comparer를 설치하거나 다음 명령으로 설치합니다.
cd ComfyUI/custom_nodes
git clone https://github.com/AIEGOBOT/ComfyUI-VideoComparer.git
ComfyUI를 재시작하고 브라우저를 새로고침합니다. 추가 Python 의존성이 없으므로
requirements.txt는 없습니다.
빠른 사용법
- 코어
Load Video노드 두 개를 추가합니다. video/preview에서Video Comparer (Swipe)를 추가합니다.- 원본을
video_a, 비교 영상을video_b에 연결합니다. - 녹화 전에
recorded_video를 코어Save Video에 연결합니다. - 큐를 한 번 실행한 뒤
REC를 누르고 구분선을 움직인 다음 다시 눌러 끝냅니다.
비교 길이는 더 짧은 입력에 맞춰지며 녹화는 최대 2분, 512MiB입니다. 녹화물이 생기기 전에는 첫 미리보기 큐가 원본을 저장하지 않도록 출력 실행을 차단합니다.
예제 워크플로우
video_comparer_smoke.json: 모델과 입력 파일이 필요 없는 빨강·파랑 호환성 테스트.video_comparer_load_and_record.json: 영상 불러오기, 비교, 녹화와 저장을 포함한 실사용 구성.- 예제 워크플로우 안내
완성된 WebM은 사용자가 삭제할 때까지
ComfyUI/input/video_comparer_recordings에 남습니다. 영상은 로컬 ComfyUI 서버와
브라우저에서만 처리됩니다.
노드가 보이지 않으면 ComfyUI를 재시작하고 브라우저를 새로고침한 뒤 시작 로그를
확인합니다. 미리보기가 비어 있으면 코어 VIDEO 두 개를 연결하고 큐를 실행합니다.
MP4는 코어 Load Video로 불러와야 하며 VHS_FILENAMES는 다른 타입입니다.
License / 라이선스
MIT. See LICENSE. / MIT 라이선스입니다.