Nodes/Champdev Custom Nodes/Champdev Save video
ComfyUI Node

Champdev Save video

Temp output and self-deleting renders

By rohit267·Created 6 months ago·Updated 8 days ago· 1
Champdev Save video
  • video
    filename_prefixvideo/ComfyUI
    formatauto
    codecauto
    save_to_comfy_temp_dirfalse
    overwrite_existingfalse
    fixed_filename_no_incrementfalse
    auto_delete_after_seconds0

    Video renders are slow and they're huge. An hour of queue time to produce a 200MB MP4 you glance at once and never touch again - that's the exact problem this node is aimed at. Champdev Save video is a drop-in for core Save Video (it takes the same VIDEO input and saves through ComfyUI's video pipeline) with the file-lifecycle controls the core node lacks: write to the temp dir, pin a fixed filename, overwrite, or make the file delete itself after N seconds. If you iterate on video at all - tweak a prompt, rerun, compare - the auto-delete alone is worth the swap.

    How it works

    Where the pack's image node wraps core Save Image, this one wraps the core video save path. It takes the VIDEO input that comes out of the video pipeline - the decoded video object you'd otherwise feed to core Save Video in a Wan, LTX, or Hunyuan workflow - resolves its dimensions, then calls video.save_to() with your chosen container and codec. The format and codec dropdowns aren't hardcoded; they enumerate ComfyUI's own VideoContainer / VideoCodec types at load time, so you get whatever your ComfyUI build actually supports (with a static fallback list - mp4/webm/mov/mkv/avi/gif/webp and h264/h265/av1/vp9/prores - if that API isn't available). Workflow metadata rides along in the container, same as core.

    The inputs that matter

    Output node, no outputs to wire. You set:

    • video - the VIDEO tensor from your pipeline's output.
    • filename_prefix - default video/ComfyUI; subfolders fine.
    • format / codec - both default to auto, and honestly that's where they should stay. auto picks something sensible (MP4/H.264 territory). Only touch them if you specifically need WebM, ProRes, or whatever your encoder supports.
    • save_to_comfy_temp_dir - save into ComfyUI's temp directory instead of output.
    • overwrite_existing - overwrite a fixed-name collision instead of falling back to an incremented name.
    • fixed_filename_no_increment - skip the counter suffix.
    • auto_delete_after_seconds - delete the file after N seconds (0 off, max 86400).

    Where people get burned

    • auto is the safe bet, but it's still a guess. The dropdown comes from ComfyUI's own video API, so what's listed is what should work - but pick a container your build's encoder doesn't have and save_to errors at save time, exactly like core Save Video would. If a format throws, drop back to auto rather than hunting the list.
    • Same "fixed isn't fixed" trap as the image node. fixed_filename_no_increment without overwrite_existing means a collision becomes name_00001.mp4 instead of an error. Flip both if you want determinism.
    • Auto-delete is a sleeping thread. Close ComfyUI before the timer fires and the file stays. Fine for cleanup duty, not a guarantee.
    • Temp saves vanish on restart - that's ComfyUI clearing its temp dir. Great for preview renders you'd otherwise accumulate; bad if you forgot a clip there you wanted.

    Install

    Same as the rest of the pack - ComfyUI Manager, search Champdev Custom Nodes, or:

    cd /path/to/ComfyUI/custom_nodes
    git clone https://github.com/rohit267/champdev-comfyui-nodes
    cd champdev-comfyui-nodes
    python -m pip install -r requirements.txt
    

    Restart ComfyUI. No model downloads; Linux/macOS have zero extra dependencies, Windows pulls pywinpty (for the pack's terminal node - Manager handles it). Note the README's clone URL is misspelled (chamdev vs champdev) and 404s - use the one above.

    The use case that sold me: iterate on a video, have each attempt save to temp, and let the machine clean up the ones you don't keep. For anyone who generates a lot of video locally, that's a real workflow upgrade, not a toy.

    Categorychamdev-nodes/video

    Inputs (8)

    NameTypeDefaultDescription
    videoVIDEO
    filename_prefixSTRINGvideo/ComfyUI
    formatCOMBOauto2 options: auto, mp4
    codecCOMBOauto2 options: auto, h264
    save_to_comfy_temp_dirBOOLEANfalse
    overwrite_existingBOOLEANfalse
    fixed_filename_no_incrementBOOLEANfalse
    auto_delete_after_secondsINT00–86400

    Outputs (0)

    No outputs