SetMetadataForSaveVideo
Fake a video's metadata when you built the frames yourself
- METADATA
Same node as this pack's SetMetadataForSaveVideo [n-suite] - identical inputs, identical output, same job. This plain-named version predates the pack's February 2024 rewrite, when Nuked88 renamed the whole node set to avoid clashing with other packs' class names; both the old and new names ended up catalogued. If you're building a fresh workflow, reach for the [n-suite]-suffixed version - that's the one carrying the pack's current branding.
What it actually does, either way: N-Nodes' SaveVideo node requires a METADATA input to know the fps and frame count it's writing. That object normally comes for free out of LoadVideo or LoadFramesFromFolder. This node exists for the case where it doesn't - your frame batch came from somewhere else in the graph, and SaveVideo still needs something to plug into that socket. It doesn't inspect your frames at all; it just packages the three numbers you hand it into the shape the rest of the pipeline expects.
The case where you actually reach for it: any frame batch that never passed through one of this pack's own loaders. A plain Load Image batch, frames assembled from a generation loop, output from an entirely different video pack - all of that lands in your graph with no METADATA attached, and SaveVideo will refuse to run without one. Rather than routing your frames through a loader node just to manufacture metadata you don't otherwise need, you type the three numbers in here directly.
The inputs and output
number_of_frames(default 1, min 1) - the frame count to tag.fps(default 30, min 1) - the frame rate to tag. This is a label, not a measurement - get it wrong and your saved video plays back at the wrong speed, since nothing here checks it against your actual frame batch.VideoName(default"manual") - a carried-along label, handy for filenames or logging downstream.
Output: METADATA, ready to wire into SaveVideo.
Installing the pack
- ComfyUI Manager - search "ComfyUI-N-Nodes," install, restart.
- Manual -
cd ComfyUI/custom_nodes && git clone https://github.com/Nuked88/ComfyUI-N-Nodes.git, then restart ComfyUI.
Nothing heavy for this one - no models, no compiled dependencies.
Common issues & troubleshooting
You already have a real METADATA output. If your frames came out of a loader node in this pack, use its METADATA output directly instead of fabricating one here - this node is only for the gap where nothing upstream produced one.
Video plays too fast or too slow. Check fps against what your frame batch was actually meant to represent - this node has no way to verify it, it just tags the value you typed in.
You'd rather have the currently-branded version. See SetMetadataForSaveVideo [n-suite] - same schema, same behavior, just the name the pack uses going forward.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| number_of_frames | INT | 1 | — |
| fps | INT | 30 | — |
| VideoName | STRING | manual | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| METADATA | STRING | — |