ComfyUI Node
Ragha Preview Video
Fast video preview on the node, with sound and optional A/B compare. Clips stay in memory and reach the browser as raw binary (no base64/JSON, nothing written to disk). Inspired by kijai's Fast Preview.
Ragha Preview Video
- images
- video
- images_b
- video_b
- audio
- images
- video
- audio
◄fps16.0►
◄max_size512►
◄quality50►
◄max_frames0►
◄compareslider►
◄include_audiotrue►
◄refresh_every_runfalse►
Categoryvideo/ragha
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| fps | FLOAT | 16.01–120 | Playback fps for 'images'. A VIDEO input keeps its own fps. |
| max_size | INT | 512128–2048 | Longest side of the preview in pixels. Smaller = faster. |
| quality | INT | 501–100 | — |
| max_frames | INT | 00–4096 | 0 = every frame. Otherwise frames are sub-sampled evenly to this count (faster previews of long videos). |
| compare | COMBO | slider | How A and B are shown when images_b or video_b is connected. |
| include_audio | BOOLEAN | true | Play sound from 'audio', or else from the A video's own audio track. |
| refresh_every_run | BOOLEAN | false | Re-encode the preview on every Run even when nothing changed. Usually not needed: a cached run shows the last preview again. Leave off when you use the outputs, so the nodes after this one are not re-run. |
| imagesopt | IMAGE | A: frame batch. | |
| videoopt | VIDEO | A: video. Used when 'images' is not connected. | |
| images_bopt | IMAGE | B: frame batch to compare against A. | |
| video_bopt | VIDEO | B: video to compare against A. | |
| audioopt | AUDIO | Sound for the preview (plays with A). |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | The 'images' input, passed through unchanged. |
| video | VIDEO | The 'video' input, passed through unchanged. |
| audio | AUDIO | The 'audio' input, or the A video's audio track. |