Nodes/Hermes Nodes/Video Preview
ComfyUI Node

Video Preview

Encodes frames to mp4 and plays them in the node: autoplay, sound on hover, click to pause.

By Lannister34·Created 10 months ago·Updated 10 days ago· 1
Video Preview
  • video
  • audio
  • image
  • width
  • height
  • filepath
◄fps16.0►
◄filename_prefixVideoPreview►
◄save_outputfalse►
◄crf18►
◄codecauto►
Categoryhermes/video

Inputs (7)

NameTypeDefaultDescription
videoIMAGEVideo frames (IMAGE batch).
fpsFLOAT16.01–120Playback FPS.
filename_prefixSTRINGVideoPreviewFilename prefix. Supports subfolders like 'previews/run1'.
save_outputBOOLEANfalseSave permanently to output/ folder. Off = preview-only (temp/).
crfINT180–51h264 quality (lower = better, 18 is visually lossless). Used as 'cq' on NVENC.
codecCOMBOautoauto picks NVENC when available: same speed as libx264 'fast' on real footage, but it leaves the CPU free. Falls back to libx264 if the driver refuses.
audiooptAUDIOOptional audio track to mux into the video.

Outputs (4)

NameTypeDescription
imageIMAGEThe input frames, unchanged.
widthINTFrame width.
heightINTFrame height.
filepathSTRINGAbsolute path of the written mp4.