AUN Save Video V2 (Deprecated)
The AUN video saver that's already told you it's moving on
- images
- audio_options
- images
- sidecar_text
Here's the twist: this is the recommended video saver in the AUN pack, and it's also marked deprecated. That's not a contradiction - it means the pack itself is pointing you at Video Helper Suite's VHS Video Combine for new video work, but this node remains the better-looking option if you're already living inside the AUN path/filename family. Both things can be true, and it's worth knowing which one you want.
What it does
AUNSaveVideoV2 takes a batch of images (frames from a VAE-decoded video latent), encodes them into an animated image or a video file, and passes the frames through as an images output so you can also preview or save them elsewhere. It accepts one combined path_filename string - the V2 convention - with %token% placeholders like %model_short%, %steps%, %cfg%, %seed%, %loras%.
The output formats are the real story. You get animated images - image/gif, image/webp, image/apng - and real video via the format JSONs: h264-mp4, h265-mp4, h264_nvenc-mp4, av1-webm, ProRes, and video/webm. WebM uses VP9; some inputs get re-encoded for compatibility. If you're on an NVIDIA card, h264_nvenc-mp4 is the one to try for fast, hardware-encoded output.
Inputs and outputs
Required: images, frame_rate (8 by default - for animated images this sets frame delay, for video it's FPS), loop_count (animated images only; 0 loops forever), path_filename, output_format, save_to_output_dir, quality (0–100, mapped per format), save_metadata, save_workflow (embeds the full workflow JSON so the video is reproducible), and batch_size.
The batch_size field is the one that burns people. Video outputs encode in segments - the node writes interim chunks then concatenates. Lower batch_size uses less memory; higher means fewer segments and a faster concat. If you're OOM-ing on long videos, drop it toward 32.
Optional: audio_options (adds an audio track to video outputs), plus the token-feeders seed_value, steps_value, cfg_value, model_name, sampler_name, scheduler_value, and sidecar_format. Missing token values just come out empty, which keeps filenames clean.
Outputs: images (the pass-through frames) and sidecar_text.
Why it's deprecated
The README says it plainly: deprecated in favour of VHS Video Combine. If you're starting fresh with no AUN allegiance, that's the pragmatic call - VHS is the ecosystem-standard video saver with more codec support and a bigger community around it. But if you already use AUNPathFilenameVideoV2 to build filenames, this node completes the loop with the same %token% convention, and there's no reason to rip it out of a working workflow.
Installing
Same pack, same install:
cd ComfyUI/custom_nodes
git clone https://github.com/loz2754/AUN-ComfyUI-Nodes
Restart, or use ComfyUI Manager (search "AUN"). Video encoding needs imageio-ffmpeg, which the pack's requirements install automatically; if you cloned manually, run pip install -r custom_nodes/AUN-ComfyUI-Nodes/requirements.txt. If video outputs are mysteriously disabled, the README's fix is: make sure ffmpeg is installed and on your PATH, or rely on the bundled imageio-ffmpeg.
Inputs (20)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | Image frames to encode (batch). | |
| frame_rate | INT | 8 | Frames per second. For animated images sets frame delay; for videos sets FPS. |
| loop_count | INT | 00–100 | Animated images only (GIF/APNG/WebP). 0 = loop forever; N = repeat N times. Ignored for video outputs. |
| path_filename | STRING | Comfy | Combined relative path and filename template. Supports canonical %token% placeholders and legacy %token placeholders. |
| output_format | COMBO | Choose animated image or video. Video/* entries come from format JSONs. WebM uses VP9; some inputs may be re-encoded for compatibility. | |
| save_to_output_dir | BOOLEAN | true | Save to the ComfyUI output directory when true; otherwise to the temp directory. Affects preview location type. |
| quality | INT | 950–100 | 0–100. Higher is better (larger files). Mapped to each format; for videos, translated to encoder quality. |
| save_metadata | BOOLEAN | true | Embed node metadata into the file (GIF comment / APNG pnginfo / WebP EXIF / video comment). |
| save_workflow | BOOLEAN | true | Include the full workflow JSON in embedded metadata for reproducibility. |
| batch_size | INT | 128 | Video outputs only. Frames per interim segment before concat: lower = less memory; higher = fewer segments/faster concat. No effect for GIF/APNG/WebP. |
| audio_optionsopt | AUDIO_INPUT_OPTIONS | Optional. Add an audio track (and trimming). Applies to video outputs only. | |
| seed_valueopt | INT | 00–18446744073709550000 | Used if %seed% appears. Inserts 'seed-<value>' (0 is valid). Remove %seed% from filename to omit. |
| steps_valueopt | INT | 0 | Used if %steps% appears. Inserts 'steps-<value>' when > 0; empty when 0. |
| cfg_valueopt | FLOAT | 0.00 | Used if %cfg% appears. Inserts 'cfg-<value>' when > 0 (compact formatting); empty when 0. |
| model_nameopt | STRING | Used if %model% appears. Value is sanitized for filenames (no slashes/specials). | |
| sampler_nameopt | STRING | Used if %sampler_name% appears. Sanitized; empty leaves nothing. | |
| scheduler_valueopt | STRING | Used if %scheduler% appears. Sanitized; empty leaves nothing. | |
| manual_model_nameopt | STRING | Optional short/manual name for %model_short%. Leave empty to auto-generate a short name from the model. | |
| sidecar_formatopt | COMBO | Output only (text) | Choose how to export sidecar info: Output only (text/json) returns it via node output; Save to file (text/json) also writes a .txt/.json next to the video. |
| date_formatopt | STRING | %Y-%m-%d | Date format used for %date% and %time% placeholders in path_filename. Explicit %date:<format>% and %time:<format>% placeholders override this per token. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| sidecar_text | STRING | — |