Nodes/ComfyUI-RaghaPreviewVideo/Ragha Preview Video
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.

By VRH7733·Created 23 days ago·Updated 21 days ago· 0
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)

NameTypeDefaultDescription
fpsFLOAT16.01–120Playback fps for 'images'. A VIDEO input keeps its own fps.
max_sizeINT512128–2048Longest side of the preview in pixels. Smaller = faster.
qualityINT501–100—
max_framesINT00–40960 = every frame. Otherwise frames are sub-sampled evenly to this count (faster previews of long videos).
compareCOMBOsliderHow A and B are shown when images_b or video_b is connected.
include_audioBOOLEANtruePlay sound from 'audio', or else from the A video's own audio track.
refresh_every_runBOOLEANfalseRe-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.
imagesoptIMAGEA: frame batch.
videooptVIDEOA: video. Used when 'images' is not connected.
images_boptIMAGEB: frame batch to compare against A.
video_boptVIDEOB: video to compare against A.
audiooptAUDIOSound for the preview (plays with A).

Outputs (3)

NameTypeDescription
imagesIMAGEThe 'images' input, passed through unchanged.
videoVIDEOThe 'video' input, passed through unchanged.
audioAUDIOThe 'audio' input, or the A video's audio track.