Preview Video
The video player this pack ships with — its description is literally 'hello world!'
- video
Preview Video is the tiny sink node at the end of this pack's pipeline, and its job is exactly what the name says: show you the video you just made. It takes the VIDEO output of LightSketch Live Portrait and plays it right there on the canvas with a real <video> player - controls, mute toggle, the works. Wire the two together, run the graph, and your animated face appears without you digging through output/ for the file.
Why does this node need to exist at all? Because the Live Portrait node doesn't return image tensors or frames - it returns a file path to a downloaded MP4. ComfyUI's built-in video preview is built around tensor inputs, so the pack ships its own viewer that knows what to do with a path. It's a one-trick pony, and it's honest about that: the node's DESCRIPTION, straight from the source, is literally hello world!. You'll know within a minute of using this pack that the docs budget was spent elsewhere.
What it does
- Input:
video(VIDEO) - the file path coming out of the Live Portrait node. - Outputs: none. This is an
OUTPUT_NODE; it's a terminal display node, the last thing in your graph.
Mechanically it's a thin wrapper around a JavaScript extension (the pack's web/ folder registers it automatically). When the graph runs, the extension fetches the video through ComfyUI's /view endpoint and sticks it in a DOM widget on the node, resizing the node to match the video's aspect ratio. Right-click the node and you get Open preview - which loads the full-quality file in a new tab - and Save preview, which downloads it.
Gotchas worth knowing
- It only shows up after the upstream node actually runs. The preview is populated in the
onExecutedhandler, so an empty node isn't broken - it just hasn't done anything yet. - The on-canvas preview is downscaled. The extension requests a ~256px version to keep the graph snappy. Use right-click → Open preview to judge actual quality.
- It's for file-path
VIDEOoutputs, not tensors. Plug an image tensor in and nothing useful happens. - If the file vanishes (deleted, or ComfyUI restarted and the path is stale), the player quietly hides itself - a dead-looking node usually means the MP4 it points at no longer exists.
That's the whole node. If you're using this pack, it's the thing you attach to the end of the Live Portrait node so you can actually see your result - and honestly, that's the right kind of node to be boring.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| video | VIDEO | — |
Outputs (0)
No outputs