ComfyUI Node
Save Video π
Saves a frame batch as mp4 (h264/h265, CPU or NVENC), webm (vp9/av1), ProRes mov, lossless ffv1 mkv, gif or webp - with optional muxed audio and the workflow embedded, so the file drags back into ComfyUI. pingpong bounces the clip for a seamless loop. Wire fps straight from Load Video π to keep the source timing, or connect a core VIDEO to encode that whole video instead.
Save Video π
- frames
- audio
- video
βfps16βΊ
βfilename_prefixAusBoss/videoβΊ
βcrf19βΊ
βformatmp4 h264βΊ
βpingpongfalseβΊ
βsave_metadatatrueβΊ
Categoryπ AusBoss/Video
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| fps | FLOAT | 160.01β240 | Playback frame rate; wire Load Video's fps output to match the source. A connected video input brings its own rate and overrides this widget. Fractional rates like 23.976 and 29.97 can be typed in. |
| filename_prefix | STRING | AusBoss/video | Saved under the output folder; subfolders are created automatically. |
| crf | INT | 190β51 | Encode quality: lower is better and larger. 19 is visually lossless for h264; h265 and vp9 read the same scale (vp9 tolerates a few points higher). |
| framesopt | IMAGE | BHWC frame batch to encode. Not needed when a video is connected. | |
| audioopt | AUDIO | Optional track muxed into the file, e.g. Load Video's audio output. | |
| videoopt | VIDEO | Optional core VIDEO. When connected, its frames and audio supersede the frames and audio inputs, and its own frame rate wins over the fps widget; a differing widget rate is logged once to the console. ComfyUI core decodes the whole file into memory before this node sees a frame: that phase reports no progress and does not stop on Cancel, which takes effect once the encode starts. Wiring frames instead keeps the whole run interruptible. | |
| formatopt | COMBO | mp4 h264 | Container and codec. mp4 h264 plays everywhere; mp4 h265 halves the size at the same quality where supported; the nvenc pair encodes on an NVIDIA GPU instead of the CPU (much faster, slightly larger); webm vp9 and webm av1 suit the web and mux Opus; mov prores is a ProRes HQ editing master; mkv ffv1 is bit-exact lossless and very large. gif and webp are silent, loop forever, and hold every frame in memory - keep those to short clips. |
| pingpongopt | BOOLEAN | false | Play the clip forward then backward so it loops seamlessly. Roughly doubles the frame count and the encode time; the first and last frames are not repeated at the turnaround. |
| save_metadataopt | BOOLEAN | true | Embed the prompt and workflow in the file, so an mp4 dragged back onto the canvas restores its graph. Turn off to share a file without your prompts and node graph inside it. gif and webp never carry metadata. |
Outputs (0)
No outputs