视频转存预览输出
The near-twin of LamViewVideo, with a bonus path output
- video_path
If you just read the LamViewVideo article, you've read 90% of this one. LamViewVideoOut ("Save Video") is the same output node under the hood - same class, same inputs, same job of writing a VIDEO to your output directory with a UI preview. On comfy.icu the two pages resolve to the same underlying node, and honestly that duplication is the single most useful thing to know about this one: if you're choosing between the two, they're the same save operation. Pick whichever your workflow template references and move on.
The one meaningful difference is that where LamViewVideo is a pure terminal, this "Out" variant also returns the video on an output - so it can sit in the middle of a chain while still saving. The video keeps flowing after the save, which matters if you want to save a copy and keep doing something downstream (a second save, a probe, a step that needs the rendered frames).
How it works
Identical mechanics: it takes a VIDEO, writes it under the filename_prefix (with the same %date%/token formatting support as core ComfyUI), with format and codec defaulting to auto so you rarely touch them. Because it's not a pure output node, the video output lets you continue the graph after saving rather than ending it. That's the "Out" in the name - the path/stream is available on the output side.
The inputs and outputs
video(VIDEO) - the video to save.filename_prefix- output path/name prefix, defaultvideo/ComfyUI.format(COMBO, defaultauto) - container.codec(COMBO, defaultauto) - encoding.- Output:
video(VIDEO) - the saved video, available for downstream nodes.
Installing it
From ComfyUI_Lam: Manager → "ComfyUI_Lam", or:
cd ComfyUI/custom_nodes
git clone https://github.com/yanlang0123/ComfyUI_Lam
Restart, video category. Needs the pack's video deps (imageio-ffmpeg / av). And the same warning as its twin: don't run the pack's full install.bat for this - it drags in TensorFlow-era pins (numpy 1.23.4, dlib, etc.) that belong to the pack's face and inpainting nodes and will fight your existing environment. Install what you actually need.
Common issues
Same as LamViewVideo: trust the auto format/codec defaults, keep the video in the pack's own type flow, and expect save errors if you force an unsupported codec. The "duplicate page" situation is worth remembering when you Google this later - you didn't miss a feature, the pack really does register the save node twice under two slugs. On uninstall, delete ComfyUI/web/extensions/lam to clear the leftover frontend popup, same as any other node in this pack.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| video_path | STRING | The path to the video to save. | |
| filename_prefix | STRING | video/ComfyUI | The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| video_path | STRING | — |