ComfyUI Node
😺NKD Video Viewer
Encodes frames (or a video) and previews the result in a scrubbable, looping viewer with frame-accurate stepping. The file is served raw, so seeking is native rather than a re-streamed approximation.
😺NKD Video Viewer
- images
- audio
- reference
- video
- filepath
◄fps24.00►
◄pingpongfalse►
◄format▾►
◄save_outputtrue►
◄filename_prefix%project%/%category%/%node%►
◄versioningoff►
◄version1►
◄numberingcounter►
◄filename►
Category😺NKD Nodes/Preview
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| fps | FLOAT | 24.000.01–1000 | — |
| pingpong | BOOLEAN | false | Play forward then backward, for a seamless loop. |
| format | COMBO | 6 options: [object Object], [object Object], [object Object], [object Object], [object Object], [object Object] | |
| save_output | BOOLEAN | true | Off writes to temp/ — a preview you can discard. |
| filename_prefix | STRING | %project%/%category%/%node% | Relative to output/. Tokens: %project% and %category% (the active ones, picked in the chip on this node — one click moves every NKD node in the graph), %node% (this node's TITLE — rename the node to SH010_comp and it lands there), %v###% (version, one digit per hash), %res%, %fps%, %frames%, %duration%, %format%, %codec%, %time:HH-mm-ss%, plus ComfyUI's own %date:yyyy-MM-dd% and %Node title.widget%. Tokens work in the folder part too. |
| versioning | COMBO | off | Adds _v001 to the name — no need to type %v###% yourself; spell the token out only to place it elsewhere (a folder) or pad it differently. `auto` takes the next unused version in the target folder. Turning this on also drops ComfyUI's _00001_ counter, which would number the same thing twice. Note that a cached graph does not re-run, so it makes no new version — the render would be identical; use `manual` to force one (and it overwrites, like re-rendering a version in Nuke). |
| version | INT | 11–99999 | Used when versioning is `manual`. |
| numbering | COMBO | counter | `counter` is ComfyUI's _00001_ suffix. `none` gives a clean name - what you want once the version is carrying the uniqueness. |
| filename | STRING | Split the name from the folder: leave this EMPTY and filename_prefix keeps carrying both, exactly as before. Fill it in and filename_prefix becomes the folder only — so you can keep %project%/%category% up there and change how files are named down here without ever touching the project's directory. Same tokens work in both. | |
| imagesopt | IMAGE,MASK,VIDEO | What to encode: an IMAGE batch, a MASK, or a VIDEO to re-encode. | |
| audioopt | AUDIO | Overrides the audio carried by `video`. | |
| referenceopt | IMAGE,MASK,VIDEO | The 'before' for the A/B compare - a video, a batch of frames or a mask. Wiring it beats the global NKD Reference slot: a connection is a statement, the slot is whatever ran last. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| video | VIDEO | — |
| filepath | STRING | — |