ComfyUI Node
Video Preview
Encodes frames to mp4 and plays them in the node: autoplay, sound on hover, click to pause.
Video Preview
- video
- audio
- image
- width
- height
- filepath
◄fps16.0►
◄filename_prefixVideoPreview►
◄save_outputfalse►
◄crf18►
◄codecauto►
Categoryhermes/video
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| video | IMAGE | Video frames (IMAGE batch). | |
| fps | FLOAT | 16.01–120 | Playback FPS. |
| filename_prefix | STRING | VideoPreview | Filename prefix. Supports subfolders like 'previews/run1'. |
| 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). Used as 'cq' on NVENC. |
| codec | COMBO | auto | auto 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. |
| audioopt | AUDIO | Optional audio track to mux into the video. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The input frames, unchanged. |
| width | INT | Frame width. |
| height | INT | Frame height. |
| filepath | STRING | Absolute path of the written mp4. |