Nougan Video Save
Nougan Video Save
- video
Every video model in ComfyUI hands you a slightly different object at the end of the chain. Wan gives you frames, LTX gives you a VIDEO, some custom packs hand you a dict with a gifs key. Nougan Video Save's answer is to accept all of it: the video input is a wildcard, and the node digs through whatever it gets - nested dicts, lists, tensors - until it finds frames, then shells out to ffmpeg to write a real file.
That's a legitimately useful design decision, and it's the reason I'd reach for this over the stock SaveVideo when I'm chaining packs.
How it works
The node resolves its input in two ways. If it finds a file path (a VIDEO object referencing something on disk), it re-encodes from that source directly. Otherwise it walks the structure looking for frame data - checking frames, images, video, pixels, tensor, image, data, plus videos/gifs - writes the frames as numbered files in a temp dir, and encodes from the image sequence.
Then it maps your codec choice onto a real encoder: h264 → libx264, h265 → libx265, av1 → libsvtav1 (with a fallback path if your build doesn't have it), vp9 → libvpx-vp9, none (gif) → the gif muxer. Audio gets AAC, or libopus when the container is WebM.
GIF is the only format that gets special treatment: a two-pass palettegen then paletteuse render, which is the difference between a GIF that looks like 1998 and one that looks like your video with fewer colours. Actually thoughtful, and rarer than it should be.
The six fields
video (wildcard), filename_prefix, format, codec, fps, crf. That's the entire node. No outputs - it's a terminal save node.
format is mp4, webm, mkv, gif. codec is h264, h265, av1, vp9, none (gif). They're independent dropdowns, so you can make combinations ffmpeg will refuse (see below).
fps defaults to 24, which is right for H3 and most LTX work and wrong for anything you shot or generated at 16. It re-times the frames you give it - the frames carry no timing of their own once they're a tensor, so this field is the timing.
crf defaults to 23 and means different things per codec: for h264/h265 it's the standard 0–51 quality knob where lower is better; AV1's scale runs to 63, so 23 there is fairly high quality; VP9 uses CRF differently again. If your WebM looks soft, don't assume 23 means what it meant on h264.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/Winnougan/Nougan_Nodes
# restart ComfyUI
Or ComfyUI Manager, search Nougan. Then the requirement that actually decides whether this node works at all: ffmpeg on your PATH. This node calls the system ffmpeg binary through a subprocess; it does not use PyAV and it doesn't bundle anything. The pack declares no dependencies, so nothing is installed for you.
# Debian/Ubuntu
sudo apt install ffmpeg
# macOS
brew install ffmpeg
# Windows: download a build, drop ffmpeg.exe somewhere on PATH, restart the shell AND ComfyUI
Confirm with ffmpeg -version from the same shell/environment ComfyUI is launched from - a console that can see ffmpeg and a ComfyUI service that can't is a very common split on Linux.
Common issues
"ffmpeg was not found" in the console. Exactly that. The node prints a clear error naming the problem, which is more than most do.
A codec your ffmpeg build doesn't have. libx265 and libsvtav1 are the usual missing ones on minimal builds. AV1 has a fallback path; h265 doesn't. Check with ffmpeg -encoders | grep -E '265|svt' before blaming the node.
Format/codec mismatches. mp4 + vp9 and mkv + h264 are technically possible and practically annoying; some players won't touch them. mp4+h264, webm+vp9, mkv+anything are the combinations that just work.
GIF that's 200 MB. Two-pass palette or not, GIF is 256 colours and no inter-frame compression worth the name. It's a preview format, not a delivery format. Drop fps to 12 and shorten the clip.
Wrong speed. Your source was 16 fps and you left fps at 24, so the clip plays fast and short. Set it to the rate the model actually generated at.
The context here is that the open-video world got very fragmented very fast - Wan, LTX, H3, and a dozen derivatives, each with its own output convention (wan-video.md is a decent map of one branch). A save node that shrugs and accepts whatever the last node emitted is worth more than its feature list suggests. Just install ffmpeg properly first, because that's the whole dependency.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| video | * | — | |
| filename_prefix | STRING | NouganVideo | — |
| format | COMBO | 4 options: mp4, webm, mkv, gif | |
| codec | COMBO | 5 options: h264, h265, av1, vp9, none (gif) | |
| fps | FLOAT | 24.01–120 | — |
| crf | INT | 230–51 | — |
Outputs (0)
No outputs