Scene Gen Video Player
An inline preview for a path string
This is the pack's preview node, and it does exactly one thing: take a video file path, and show that video in a player widget right on the canvas. Wire the Final Video Path output from SceneGen - MusicVideo (or SceneGen - Movies) into its video_path input, queue the graph, and the finished .mp4 plays inline instead of you digging through your output folder.
Nothing special? Right - that's the point. It's a small convenience node, and once you know what it isn't, you'll stop being confused by it.
How it works
The node itself is pure plumbing: it takes the absolute path, figures out where the file sits relative to ComfyUI's output directory, and returns a UI message telling the frontend what to display. The actual player is a tiny JavaScript extension shipped with the pack that, on execution, injects a <video> element into the node with autoplay, loop, and controls. No outputs, no further wiring - it's an output node by design (is_output_node: true), a dead end in the graph on purpose.
The one gotcha that will bite you
The display logic has a hard requirement: the video has to be inside ComfyUI's output directory. The node checks whether your path is absolute and starts with the output dir; if it is, it computes the relative path and serves it up. If the file lives anywhere else, it falls back to using just the filename - which, for a file in a random folder, points at a path that doesn't exist, and you get nothing in the player.
So: don't feed it arbitrary paths. If you render with the pack's own nodes, the output lands in ComfyUI/output/ and everything just works. If you're pointing it at something you generated elsewhere, copy the file into the output folder first.
Is it worth installing the pack for?
No - but you're installing the pack for the main nodes anyway, and the player is a nice-to-have that costs you nothing extra. The alternative is opening the file yourself, or using the built-in VHS-style video preview nodes from other packs, which can be fussier about path formats. For the exact use case - previewing what Scene Gen just rendered - this is the path of least resistance.
Install
It ships with lazniak/scene_gen, so there's nothing extra to install:
cd ComfyUI/custom_nodes
git clone https://github.com/lazniak/scene_gen.git
cd scene_gen
pip install -r requirements.txt
Restart ComfyUI and the node appears in the Scene Gen menu. It has one input, video_path, and no outputs - wire a path in, run, and look at the node's face.
One more thing to know: it's a path-string node, so any node that outputs a file path can feed it - not just Scene Gen's. If another workflow produces a video in your output folder, this player will happily display that too.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| video_path | STRING | Absolute path to the video file. |
Outputs (0)
No outputs