Repository navigation
Added
-
SeedVR2 INT8 ConvRot Upscale Models: New
seedvr2_3b_int8andseedvr2_7b_int8entries forupscale_model, loading checkpoints saved in ComfyUI'sint8_tensorwiselayout with the block-Hadamard ("ConvRot") rotation. Smaller and faster than the FP8 variants, and — unlike ComfyUI's native SeedVR2 nodes — they run through this pack's BlockSwap, so the 7B fits on cards that OOM natively. Measured on a 11.6 GB card at 720p: 3B without BlockSwap peaks at 5.0 GB; the 7B peaks at 6.9 / 5.2 / 5.0 GB withblockswap_blocksof 8 / 16 / 24. (core/seedvr/optimization/int8_ops.py,core/seedvr/core/model_loader.py)- How it works: Each quantized
nn.Linearships as an INT8weight(pre-rotatedround((W @ H_blkᵀ)/s)), an FP32 per-output-rowweight_scale, and acomfy_quanttag holding the format JSON. The loader decodes those tags, swaps the matchingnn.Linearlayers for anInt8ConvRotLinearbefore applying the state dict, and dispatches tocomfy_kitchen.int8_linear, which rotates and quantizes the activation inside the kernel — the weight is never dequantized. Requires a CUDA GPU of compute capability 7.5+; the loader says so plainly rather than failing deep in the model. - Compute precision: The non-quantized tensors (biases, norms, ada modulation, RoPE freqs) ship as FP16 and are cast to BF16 at load, putting the model on the same effective compute precision as the FP8 path instead of tripping
CompatibleDiT's FP16 branch. - Architecture check: The shared loader applies weights with
strict=False, under which a checkpoint for the wrong variant would load "successfully" and render noise. INT8 checkpoints are now verified to supply every tensor the model expects before loading; the baked-inpositive_conditioning/negative_conditioningembeddings they carry are ignored, since this port uses its ownpos_emb.pt/neg_emb.pt. models/diffusion_models/is now searched: SeedVR2 checkpoints in ComfyUI's native format land there rather than inmodels/SEEDVR2/. Both are searched,SEEDVR2/first; files found in the shared folder are filtered by name so unrelated checkpoints are not offered as upscalers. (core/seedvr/utils/constants.py)- Local-only registry entries: The INT8 variants have no download mirror, so a missing file now fails immediately with the list of directories to put it in, rather than surfacing later as a bare "file not found". (
core/seedvr/utils/model_registry.py,core/seedvr/utils/downloads.py)
- How it works: Each quantized
-
Save / Load Last Frame — Scene Continuation: New node pair for extending a shot across queue runs.
FFMPEGASaveLastFramewrites the trailing frame(s) of a generation into a named slot underoutput/ffmpega_last_frame/<slot>/;FFMPEGALoadLastFramereads that slot back, so a later run can start where the previous one ended. Built for i2v chaining (Wan 2.2 and similar), where continuing a shot means handing the model the frame you finished on and no authored end-frame exists. (core/last_frame.py,nodes/save_last_frame_node.py,loadlast/load_last_frame.py)- Tensor-first, lossless: When
imagesis connected the frame is taken straight from the IMAGE tensor and written to PNG with no h264 round-trip. Extracting from the encoded file instead bakes in compression artifacts and yuv420p chroma subsampling, which compound visibly across a chain of generations.video_pathremains available as an ffmpeg fallback for any video on disk, and logs which source it used. - Named slots: Several independent chains coexist without cross-talk, and Save↔Load pairing is an explicit contract rather than "newest file anywhere wins". Slot names are sanitized to
[A-Za-z0-9_-]before any path join. frame_count+offset_from_end: Save or load a trailing batch rather than a single frame, and skip the very last frames — which on a moving shot are often the worst, being motion-blurred and softer than the rest.- Deterministic overwrite: By default a slot holds exactly
frame_countfiles at fixed zero-padded names, and stale files from a longer previous run are pruned — so loading never returns a mix of two runs.keep_historyswitches to an accumulating archive instead. - Cold-start handling:
on_missing(fallback/empty/error) plus afallback_imageinput, so the first run of a chain uses your original start image rather than silently feeding a black frame into the sampler. - Slot preview on both nodes: Each node shows a thumbnail strip of whatever its slot currently holds, populated from the new
/ffmpega/last_frame/slotroute as soon as the node is placed — no queued prompt needed. Without it you would have to run the graph just to find out which frame you are about to continue from. The strip refreshes on slot rename, after execution, and on a light poll. (src/nodes/last_frame_ui.ts) - Resize disclosure:
LoadLastFrame's eight resize sub-widgets collapse behind itsenable_resizetoggle, matching howLoadLastImagealready treats the same shared widget group. Hiding is display-only — values are kept and still honoured. - Ordering:
SaveLastFrameexposes alast_frameIMAGE passthrough — the exact tensor written — which is the correct way to chain inside a single workflow. Two unconnected nodes have no guaranteed execution order, and node caching is decided before execution begins, so a same-graph Load would read the previous run's frame. A wildcardtriggerinput is provided as an explicit ordering hint. - Tests: New
tests/test_last_frame_selection.py(torch-free index and slot-name logic) andtests/test_last_frame.py(round-trip, pruning, cold-start, ffmpeg tail extraction).
- Tensor-first, lossless: When
-
Load Last Video —
lastframe-select mode:frame_select_modegained alastentry that selects only the final frame, for the same continuation use case. The back-off from the end is frame-relative (0.5 / fps) rather than the fixed0.01sused byfirst_last, which at 100fps is a full frame period and would land on the second-to-last frame. (loadlast/load_last_video.py) -
Save Video — Advanced Output Options:
FFMPEGASaveVideogained a full encoding surface, so webm/ProRes/lossless output no longer requires falling back to VideoHelperSuite. All new widgets are optional, so workflows saved before them keep working unchanged. (nodes/save_video_node.py,src/nodes/save_video_node.ts)show_advanceddisclosure: every new widget sits behind one toggle, off by default, so the node's resting size is unchanged. Visibility is two-level — the toggle reveals the section, and within it any widget the chosen format cannot use collapses on its own. Hiding is display-only: values are kept and still honoured, so collapsing the section never silently changes an encode.output_format:source (no re-encode)(default),h264-mp4,h265-mp4,vp9-webm,av1-webm,prores-mov,ffv1-mkv,gif,webp.- Copy / remux / re-encode: The default stays a plain
shutil.copy2with no ffmpeg call at all. When only the container differs — or the source already holds exactly the codec the chosen format produces — the file is stream-copied (-c copy), which is lossless and near-instant. A full re-encode happens only when the codec actually has to change. An ffmpeg failure falls back to a plain copy rather than losing the render. - Quality & codec:
crf,encode_preset,bit_depth(8/10),audio_codec,audio_bitrate,faststart. Irrelevant widgets collapse per format in the UI (VP9/AV1 take a deadline rather than an x264 preset; ProRes and FFV1 have fixed quality; GIF/WebP carry no audio). - 10-bit path:
bit_depth=10streams 16-bitrgb48leframes and encodesyuv420p10le, moving the 8-bit quantisation into swscale and greatly reducing banding on gradients. - Playback extras:
loop_count,pingpong(image input only),trim_to_audio. embed_workflow: Writesprompt/workflowinto the container using ComfyUI's native convention (-movflags use_metadata_tags), so dragging a saved MP4 onto the canvas restores the workflow with no client-side code. Matroska/WebM additionally get acommenttag, since those muxers uppercase custom keys. The sidecar PNG is still written either way.frame_output:preview (64)/all/none, making the previously silent 64-frame downsample of theimagesoutput explicit and skippable.color_policy: see below.
-
Save Video — Frame Count in the Preview: The info bar under the player now reads
1920×1080 | 120f @ 24fps | 5.0s | 12.3 MB, and during playback the frame segment becomes a live playhead (▶ 45/120f @ 24fps), driven byrequestVideoFrameCallbackso the number matches the picture on screen. The count and rate are probed from the file that was actually written — reusingprobe_video_stats()fromcore/last_frame.py— rather than derived from thefpswidget orimages.shape[0], sopingpong,loop_countand pass-through sources all report the truth. A<video>element exposes neither value, so both ride along in the node's UI payload next tofile_size; where ffprobe is unavailable the segment is simply omitted. The rVFC bookkeeping lives in a sharedattachPlayheadTracker()that both this node and Load Video Path drive their readouts from; it reports the position, whether playback is running, and why the playhead moved — the last of which is what lets Load Video Path tell a seek from playback. Its pure range maths (frameAtTime,rangeEndSeconds) is covered bysrc/shared/ui_helpers.test.ts, the pack's first frontend unit test. (nodes/save_video_node.py,src/nodes/save_video_node.ts,src/shared/ui_helpers.ts) -
Save Video — Preview Survives Tab Switches and Restarts: The player used to empty itself the moment the graph was rebuilt — switching workflow tabs, reopening a workflow, restarting the server — and read
Waiting for execution...again even though the file was still sitting inoutput/. It now comes back from whichever of two sources is available, because the two failure modes are genuinely different. (src/nodes/save_video_node.ts,src/ffmpega_ui.ts)- Tab switches go through ComfyUI's own machinery. The frontend keeps each node's last execution payload in
app.nodeOutputs, andChangeTrackersnapshots that map per workflow and reassigns the whole object when you return to a tab — which fires theonNodeOutputsUpdatedextension hook. Save Video now implements that hook and rebuilds the player from the payload, exactly as core's audio and Preview3D widgets do, and exactly why the native Save Video node never lost its video here. Nothing needs serializing for this path: the payload is ouruidict, so it already carries the file plus the frame count and rate. The walk covers subgraphs, since the map spans the whole workflow whileapp.graphis only what is on screen. - Reloads and server restarts cannot use that map — it lives in the page. For those the descriptor is also written into the node's
properties, which LiteGraph serializes into the workflow and restores beforeonConfigureruns. This is where VideoHelperSuite's behaviour was the model but not its mechanism: VHS persists by rewritingwidgets_valuesfrom LiteGraph's positional array into a name-keyed dict for every one of its nodes, which would change the on-disk shape of every existing FFMPEGA workflow —propertiesgets the same result without touching that format, and is already how the Load Last and Video Editor nodes persist their own state. - Recovering a run from the queue history takes the first path too, and refreshes the property from it, so a video reached that way is also good across a later reload.
- Preview-only (
save_output = false) saves are remembered as well: they survive a tab switch, and after a restart — when ComfyUI has cleared its temp directory —/view404s, the existingerrorhandler hides the player and the node collapses back to its no-preview size, the same silent failure VHS has. The timestamp is minted per URL rather than stored, so anoverwriterun that replaces a file in place is never served from browser cache. Covered bysrc/nodes/save_video_node.test.ts, which drives the real handler through both restore paths.
- Tab switches go through ComfyUI's own machinery. The frontend keeps each node's last execution payload in
-
Shared Encoding Module: New
core/video/encode_opts.pyis the single source of truth for colour policy, the format table, ffmpeg argument construction and the tensor→bytes conversion;core/video/metadata.pyhandles container metadata. Every FFMPEGA encoder now routes through them. (tests/test_encode_opts.py) -
SCAIL-2 Pose-Driven Character Animation: New ComfyUI-native, in-process rebuild of the
Wan21_SCAIL2workflow, replacing the vendored SCAIL v1 pipeline. Loads the SCAIL-2 fp8 diffusion model viacomfy.sd.load_diffusion_model, the Wan 2.1 VAE, the UMT5 text encoder and CLIP-vision (ViT-H), applies model-only LoRAs (lightx2v distill, DPO) plus a ModelSamplingSD3 shift, tracks the driving pose video and reference image with native SAM 3.1, colorizes per-identity masks viacomfy_extras.nodes_scail.SCAIL2ColoredMask, and samples throughcomfy.samplers. Outputs both the animation and the colored pose-video mask. Everything runs under ComfyUI's VRAM management — no subprocess. (core/scail2_synthesizer.py, scail2 no-LLM mode)- 25 Advanced Widgets:
scail2_width/height/length,scail2_pose_extend(pingpong/loop/hold_last/none),scail2_steps,scail2_cfg,scail2_shift,scail2_seed,scail2_sampler,scail2_scheduler,scail2_denoise,scail2_replacement_mode,scail2_sort_by,scail2_object_indices,scail2_composite_direction,scail2_main_reference,scail2_color_match,scail2_blockswap_blocks,scail2_tiled_vae,scail2_subject,scail2_max_objects,scail2_detection_threshold,scail2_detect_interval,scail2_point_src_width/height. - Model Registry: New
scail2entry (~16 GB fp8) mirrored fromComfy-Org/SCAIL-2. - Tests: New
tests/test_scail2.py.
- 25 Advanced Widgets:
-
FlashVSR Video Super-Resolution: New vendored FlashVSR backend with three pipelines —
flashvsr_full,flashvsr_tinyandflashvsr_tiny_long— selectable fromupscale_model. (core/flashvsr/,core/flashvsr_synthesizer.py)- Block Swap:
blockswap_blocksdrives DiSynth'snum_persistent_param_in_ditbudget, keeping DiT transformer blocks off-GPU (-1= auto-size from free VRAM). - Processing Modes:
flashvsr_processing(whole / temporal / spatial), plusflashvsr_frame_window,flashvsr_color_fixandflashvsr_decode_tilefor near-lossless spatial decode tiling that bounds TCDecoder activation memory.
- Block Swap:
-
MatAnyone2 Video Matting: New CVPR 2026 MatAnyone2 backend for production-quality alpha mattes and foreground extraction with temporal coherence.
⚠️ NTU S-Lab License 1.0 — non-commercial research use only. (core/matanyone2_synthesizer.py, video_matting no-LLM mode) -
SVI 2.0 Pro Infinite-Length Video: Vendored Stable Video Infinity 2.0 Pro (ICLR 2026 Oral) — generates arbitrarily long video by iteratively producing 81-frame clips with Wan 2.2 I2V-A14B and paired high/low-noise LoRAs. (
core/svi_synthesizer.py, svi no-LLM mode) -
Wan-Animate: New ComfyUI-native Wan 2.2 Animate synthesizer, loading the transformer via
comfy.sd.load_diffusion_modeland following the same model-lifecycle pattern as SVI. (core/wan_animate_synthesizer.py,core/wan_animate_preprocess.py, wan_animate no-LLM mode) -
SHARP Single-Image 3D View Synthesis: Wraps Apple's SHARP model to predict 3D Gaussian splat parameters from one image (<1s) and render a camera-trajectory video via gsplat.
⚠️ Apple ML Research License — non-commercial / research only. (core/sharp_synthesizer.py, sharp no-LLM mode) -
PhyFPS / Visual Chronometer: Predicts the physical frame rate implied by a video's motion using the Pulse-of-Motion Visual Chronometer model, and optionally re-times the clip to match. (
core/phyfps_synthesizer.py,core/visual_chronometer/, phyfps no-LLM mode) -
Meta Sapiens2 Human-Centric Vision: New Sapiens2 backend with detector, fp8 quantization and conversion support. The
sapiens2_sizedropdown folds the precision choice into the size value (0.4b,0.8b,1b,5b,5b (fp8)), parsed by the newparse_size_selector()helper. (core/sapiens2/, sapiens2 no-LLM mode) -
Multi-Source Comparison Output (Save Video & Save Image): Both save nodes now accept multiple sources via auto-growing
images_a/video_path_a(andimage_path_a) inputs and combine them into one side-by-side or grid comparison. Videos are laid out with ffmpegxstack, shorter clips freezing on their last frame until the longest ends; images are composited tensor-only with no ffmpeg dependency. Shared layout math keeps both paths identical. (core/grid_layout.py,core/video_compare.py,core/image_compare.py)- New Widgets:
layout(auto / horizontal / vertical / grid),label_panels,labels,panel_gap. - Save Image Frontend: New
src/nodes/save_image_node.tsUI handler.
- New Widgets:
-
FaceCam Analytic Face Mesh: New mesh conditioning path that poses MediaPipe's own canonical face model with the camera matrices already computed and projects it, instead of rendering a 3D Gaussian proxy head and running a face detector over the renders to guess the pose back. MediaPipe loses the mesh past ~40–50° of yaw — exactly the pose a camera orbit produces — so conditioning previously went blank at the extremes. Coverage is now total by construction, motion is smooth because it is an analytic function of the camera path, and
orbit_left/orbit_rightare exact mirrors. The canonical 468 vertices are read from theface_landmarkertask bundle already on disk, so no vendored asset is required. (core/facecam_mesh.py, newmesh_sourcewidget) -
Shared Block-Swap Helper: New
register_blockswap()used by SVI, SCAIL-2 and FaceCam. Rather than a custom offload engine, it inflatesEXTRA_RESERVED_VRAMfor the duration ofprepare_samplingso ComfyUI's own lowvram partial loader leaves that many bytes on the offload device and casts per-layer on forward — which keeps LoRA-at-cast-time and GGUF weights working, both of which a hand-rolled offload would break. (core/vram_utils.py) -
SeedVR2 7B FP8 Mixed: New
seedvr2_7b_fp8_mixedupscale model — FP8 with the final transformer block (block 35) kept in FP16, eliminating the 7B-specific seam/grid artifacts of pure FP8 at the same VRAM footprint. Mirrored toAEmotionStudio/SeedVR2-models. -
Native SAM 3.1 Image Tracking Helper: New
track_images_native_sam31()public entry point incore/sam3_masker.py, used by the SCAIL-2 pipeline. -
Load Video Path —
enable_maskToggle: New BOOLEAN input that collapsesmask_mode,mask_output_type,sam_versionandshow_mask_previewbehind a single switch, so nodes that never mask show four fewer rows. When off, the backend forcesmask_mode = "none"; an upstream MASK connection still passes through. (nodes/load_video_path_node.py,src/nodes/load_video_node.ts) -
Load Video Path — Frame Budget Annotations:
skip_first_framesandframe_load_capnow carry a dimmed "N left" suffix showing how many source frames remain unused (frame_load_cap · 29 left, orall 54when uncapped). Rendered through the widget'slabel, which ComfyUI already draws in the theme's secondary colour and truncates on narrow nodes. -
Load Video Path — Node-Wide Video Drop: A video can now be dropped anywhere on the node. ComfyUI routes graph drops through a
documentlistener that dispatches toapp.dragOverNode, which is only ever set by adragoverlistener on the canvas; the node's DOM widgets sit above the canvas, so the whole preview area was dead and crossing onto it actually cancelled an already-valid drag. A dashed "Drop video to load" overlay now covers the preview while dragging. (newattachFileDropZone()insrc/shared/ui_helpers.ts) -
Native SAM 3.1 Video Backend: SAM 3.1 video masking now runs in-process against ComfyUI's native SAM 3 model (
comfy_extras/nodes_sam3.py,comfy/ldm/sam3/) instead of the upstreamsam3pip package in a subprocess. The model loads as a standardModelPatcher, so it participates in ComfyUI's VRAM lifecycle (load_model_gpu, offloading, fp16 casting) and has no CUDA-context leak — eliminating the need for a child process. Both text-prompted and point-prompted video tracking are supported, reusing ComfyUI'sforward_video/forward_segment,_extract_text_prompts, andunpack_masks. The existing mirror checkpoints (models/SAM3.1/sam3.1_multiplex.safetensors) load natively as-is — no new download. (core/sam3_masker.py)- Flag-gated with automatic fallback: Controlled by
FFMPEGA_SAM3_NATIVE(default on). Any load/inference error logs a warning and transparently falls back to the legacy subprocess + upstream-sam3path. SetFFMPEGA_SAM3_NATIVE=0to force the legacy path. - Public API of
mask_video/mask_video_subprocessis unchanged — no node call sites required modification. Image masks and plain SAM 3 video are untouched.
- Flag-gated with automatic fallback: Controlled by
Changed
- Load Video Path VRAM Handling: When the native SAM 3.1 path is active, the node no longer force-evicts all ComfyUI models (
unload_all_models()) before masking — ComfyUI'sload_model_gpuoffloads only what it needs to fit SAM 3.1 (~3 GB), keeping other models (DWPose, checkpoints) resident and avoiding needless reloads. The full eviction is retained for the legacy subprocess path. (nodes/load_video_path_node.py) - Agent Node Modes:
no_llm_modeexpanded to 31 modes with the addition ofsvi,sharp,wan_animate,scail2,phyfps,onion_skin,comparison,video_mattingandsapiens2. - Video Colour Handling — Selectable Policy, Applied Everywhere: New
color_policywidget on Save Video, and one shared implementation behind it. Measured on FFmpeg n8.1.2 with a pure-green frame (BT.601 limited Y=145, BT.709 limited Y=173):sRGB (recommended)— new default. BT.709 matrix, limited range, taggedbt709primaries with the honestiec61966-2-1transfer, because ComfyUI IMAGE tensors really are sRGB. Colour-managed players (Chrome, QuickTime, Resolve) now apply the sRGB EOTF and match the ComfyUI preview.BT.709 broadcast— identical pixels, transfer taggedbt709. This is what VideoHelperSuite intends; note itsfake_trcmechanism is a no-op on FFmpeg 8, so it is not reproduced here.ComfyUI native match— no conversion and no tags, byte-identical toCreateVideo→SaveVideo. Native is not merely untagged: swscale falls back to the BT.601 matrix, so the pixel data genuinely differs (Y=144 vs Y=172), which is the colour difference between the two nodes.full range (pc)— full-range levels for archival, with the tag and the samples finally agreeing.
- Colour Tags Now Actually Written:
-color_primariesand-color_trcpassed as output options are silently dropped by FFmpeg 8 — the stream ends up taggedunknownfor both, which was true of FFMPEGA and VideoHelperSuite. Tagging now goes through thesetparamsfilter, which was verified to write all four values. Builds withoutsetparams(pre-4.3) fall back to the legacy flags. - SVI Block Swap & Tiled VAE: New
blockswap_blocks(of 40 Wan 2.2 transformer blocks) andtiled_vaeoptions. The text encoder is now evicted after all prompts are encoded up-front, so it no longer competes with the UNets and VAE for VRAM during sampling. (core/svi_synthesizer.py) - FaceCam Block Swap: New
blockswap_blockswidget wired through the sharedregister_blockswap()helper. (nodes/facecam_node.py) - Load Video Path Upload Request: The upload now goes through
api.fetchApi()rather than a barefetch("/upload/image"), matching VideoHelperSuite.apiURL()resolves the route asapi_base + "/api" + route, andfetchApiattaches theComfy-Userand auth headers that a bare fetch omits. Failures now log the HTTP status and response body to the console. - Upload Button Sizing: The Upload Video button is pinned to a fixed row height. ComfyUI's
arrangeWidgetsgives every widget with acomputeSizea fixed height and splits the node's leftover height among the rest — with nocomputeSizethe button was the only flexible widget and absorbed all of it, stretching as the node grew. - Shared UI Helpers:
toggleWidget()andfitHeight()are now imported fromsrc/shared/ui_helpers.tsby the Load Video Path node instead of being re-declared locally.
Removed
- Cloud LLM API providers: The FFMPEG Agent no longer calls the OpenAI, Anthropic, Gemini API or Qwen/DashScope HTTP APIs. Their model names and endpoints change too often to keep a working list current. Use the CLI tools (
gemini-cli,claude-cli,cursor-agent,qwen-cli) or Ollama instead; both are unchanged. (core/llm/api.py,core/pipeline_generator.py,nodes/agent_node.py)- Removed with them: the
api_keyinput,config/models.yamland its opt-in live model fetch (core/model_config.py), the Anthropic image-block helpers inmcp/vision.py, and theapi_keymetadata scrubbing that only existed to protect that input. customnow means Ollama: Any name typed intocustom_modelgoes to Ollama. There is no longer any provider detection by name prefix.- Saved workflows: ComfyUI restores widget values by position, so removing
api_keywould have slid every later value onto the wrong widget. The Agent node now splices the oldapi_keyslot out of a workflow before its values are restored — by name where the workflow saved names, otherwise by recognising the old layout — so older workflows load with their settings intact. Any key stored in such a workflow is dropped on load and is not saved again. (src/nodes/agent_node.ts) - A workflow that selected a cloud model in
llm_modelnow fails ComfyUI's "value not in list" check at queue time; pick a CLI or Ollama model.
- Removed with them: the
- SCAIL v1 Pipeline: Deleted the vendored
core/scail/(attention, configs, fm_solvers, lora, model_scail, pipeline, scail_utils, vae),core/scail_pose/(align3d, draw_pose_utils, draw_utils, nlf_render, render_torch) andcore/scail_synthesizer.py— roughly 4,100 lines superseded by the ComfyUI-native SCAIL-2 synthesizer above.
Fixed
- Ollama
gpt-ossmodels were sent to OpenAI: Connector routing sent any model name starting withgptto the OpenAI API, so Ollama's owngpt-oss:*models never reached Ollama. With the cloud providers gone, every non-CLI name goes to Ollama. (core/pipeline_generator.py) - CLI models sat one slot too early in the
llm_modeldropdown: They were inserted before the last Ollama model instead of after it. (nodes/agent_node.py) allow_model_downloads=Falseblocked SeedVR2 even with every weight already on disk:_load_modelcalledrequire_downloads_allowed("seedvr2")unconditionally at the top, before checking whether anything actually needed fetching — so the toggle refused a download that was never required. The toggle governs downloading, not using what you already have. The gate now runs only against files that are genuinely absent, via the newrequire_downloads_allowed_for_missing()helper, and logs which weights it intends to fetch when some are missing. (core/seedvr_synthesizer.py,core/model_manager.py)- The same check-permission-before-checking-disk pattern exists at roughly 30 other call sites across the synthesizers; the new helper is there for them, but only SeedVR2 has been converted.
- Load Video Path silently sped up every clip over 64 frames: The node borrowed
SaveVideoNode._extract_frameswithout passing amode, so it inherited that method's"preview (64)"default and sampled each video down to 64 frames withnp.linspace. Because the sample is spread evenly across the whole clip rather than truncated, the full action survived with fewer frames — so anything re-encoding those frames played faster than the source. A 121-frame / 24 fps / 5.04 s clip came out at 64 frames / 2.67 s, near enough double speed. The loader now decodes every frame;skip_first_frames,frame_load_capandselect_every_nthremain the only things that reduce the count. (nodes/load_video_path_node.py)- The cap was invisible: the node exposes no preview/all selector, and it still reported
frame_countfrom ffprobe metadata (121) while handing over 64 images. Both outputs are now derived from the decoded tensor, and a mismatch against the metadata prediction is logged. - Decoding moved into
core/media_converter.decode_video_frames(), shared by both nodes, so a loader no longer instantiates a save node to reach a private preview helper — the coupling that let a preview default become a load-path default.SaveVideoNode._extract_framesis now a thin wrapper and itsmodeargument is required, so the old default cannot be inherited by accident again. A test asserts the loader never mentionsSaveVideoNode.
- The cap was invisible: the node exposes no preview/all selector, and it still reported
- Save Video's
imagesoutput defaulted to a 64-frame preview: same sampler, same consequence one node downstream — wiring that output anywhere re-encoded a time-compressed clip.frame_outputnow defaults toall;preview (64)stays selectable, its tooltip says plainly that it compresses time, and it logs whenever it actually drops frames. (nodes/save_video_node.py) - Save Video could not express NTSC frame rates:
fpswasINTwithmin: 1, so 23.976 and 29.97 were unreachable. It is nowFLOAT(matching VHS'sfloatOrInt), and the compose path no longer truncates it withint(). The tooltip also states when the widget applies — a pass-through file undersource (no re-encode)keeps its own rate, and a mismatch there is now warned about rather than silently ignored. (nodes/save_video_node.py,core/video_compare.py) - Agent intermediates were hardcoded to 24 fps:
images_to_video()was called without anfpsin two places, so a frames-in run stamped its temp video — and therefore the agent'svideo_pathoutput — at 24 fps regardless of the real source rate. Frame count was preserved, so an images→images chain still landed correctly, but path-first wiring of 30/60 fps footage did not. The rate is now taken from the connected source video when there is one, and only falls back to 24 for a bare image batch, which genuinely has no frame rate. (nodes/input_resolver.py,nodes/agent_node.py) - LoadLast video decoder broken on ffmpeg 8+:
VideoDecoder._decode_frames_ffmpegpassed-vsync vfr, which ffmpeg 8 removed outright (-fps_modereplaced it in 5.1). Every dense decode failed withUnrecognized option 'vsync', and callers that swallow that error — the Shader Overlay node among them — quietly returned a 512×512 zero tensor instead of the video. The decoder now uses-fps_mode vfrand retries with-vsynconly when ffmpeg reports the option as unknown, the same dancecore/last_frame.pyalready does. (loadlast/processing/video_decode.py) - SeedVR2
seedvr2_7b_fp8_mixedunreachable from the skill layer: The variant was in the node dropdown but missing fromskills/handlers/upscale.pyand theai_upscaleskill'schoices, so agent- and skill-driven upscales rejected it as an invalid model. All four model lists now agree, and a test asserts they stay that way. (skills/handlers/upscale.py,skills/category/ai_visual.py) - Load Video Path Scrubber Snapping Back: Dragging the preview scrubber past the trim range's out-point jumped the playhead to the in-point, paused or not — with
frame_load_capset (81 frames of a 30 s clip ends the range around 3 s) nearly the whole scrubber was unreachable, and the "📏 Jump: Middle / End" menu items were silently undone the moment they landed. The range clamp lived in atimeupdatelistener, which also fires while seeking and never checked whether the video was playing. It now loops back only when playback runs off the out-point on its own: seeks are never reversed, and playing on from a spot the user deliberately parked past the out-point is left alone. (src/nodes/load_video_node.ts)- Out-point ignored
select_every_nth: the range usedavailFrames / effFps, but 60 frames taken every 2nd are spread across 120 source frames — playback was cut off halfway. Now via the sharedrangeEndSeconds(). - Playhead yanked on unrelated edits: any change to a trim widget re-seeked to the in-point, and the widget-poll cache started empty, so a spurious "everything changed" pass seeked to 0 about 800 ms after the node appeared. The seek now happens only when the in-point actually moves, and the cache is seeded from the widgets.
- Out-point ignored
- Load Video Path Frame Counter Never Appeared: The live counter was gated on
_srcMeta.fps > 0, set only if the/ffmpega/video_infoprobe returned an fps, while the info bar beside it fell back to_srcMeta.fps || 24— so whenever that probe failed or lagged, the bar rendered "24fps" happily and the counter stayed hidden forever. Both now share the one fallback. The readout also gained thefunit and stopped duplicating the frame total already in the bar: given a playhead, that segment becomes the playhead and moves to the front (▶ 45/81f (of 120) • 1920×1080 • 30fps • …). It tracks paused scrubbing too, since the frame you are parked on is the numberskip_first_framesneeds. (src/nodes/load_video_node.ts) - SAM 3.1 Video OOM / Hang: Fixed the multiplex video point-tracking path appearing to hang for ~7.5 minutes before failing on 12 GB GPUs. The root cause of the high memory was the inference running without
torch.inference_mode(), so autograd retained every 1008×1008 activation, pushing peak VRAM to ~10–11.5 GB (OOM on an RTX 4070). Running the native model underinference_modedrops peak to ~3 GB, matching the model's advertised footprint. Point and text video tracking now complete in seconds on the same hardware that previously OOM'd. - Crushed Blacks / Blown Highlights in Encoded Video: Fixed levels being re-expanded by players that normalise the deprecated
yuvj420pfull-range output toyuv420p. See the colour-range change above. (core/media_converter.py) - Full-Range Tag on Limited-Range Video: Three encoders tagged their output
-color_range pcwhile swscale wrote limited-range samples, so players re-expanded levels that were never compressed — crushing blacks and blowing highlights. All now use the shared policy. (nodes/nollm_modes.py_encode_frames_to_videoand the SHARP renderer,core/svi_synthesizer.py) - Untagged / Mismatched Colour in the Remaining Encoders:
core/images_to_video.py(Video Editor, Shader Overlay, FacePoke, Load Last Video) wrote untagged BT.601, disagreeing with everything else in the pack. Now routed through the shared policy. (core/images_to_video.py) - Out-of-Gamut Frames Wrapping to Black:
core/images_to_video.pyconverted frames with an unclamped(x * 255).astype(uint8), so Wan's slightly out-of-range VAE output wrapped around instead of clipping — a value of 1.004 became black. Conversion now clamps. - Frame Brightness Off by 1/255: The tensor→bytes cast truncated rather than rounded, sending 0.999 to 254 and darkening every frame very slightly. Now rounds half-up, matching VideoHelperSuite. (
core/video/encode_opts.py) - Colour Step Between Comparison Panels:
xstackdoes not reconcile inputs with different (or missing) colour tags, so a BT.601 clip beside a BT.709 one showed a visible seam. Each panel is now converted to BT.709 and the stacked result is tagged to match. (core/video_compare.py) - Audio Silently Dropped on Non-MP4 Output:
mux_audioalways wrote its temp output as.mp4and always encoded AAC, so-c:v copyof a VP9 stream failed — and the failure was swallowed by a bareexcept: pass, yielding a silent video with no explanation. The temp container now follows the source, the codec is selectable, and failures are logged. (core/media_converter.py) audio_mode="replace"Silently Ignored:nodes/output_handler.pypassed a modemux_audionever defined, which fell through totrim.replaceis now an explicit alias.- AUDIO Input Dropped When Encoding Images: Connecting AUDIO to Save Video alongside an IMAGE batch produced a silent file, because the encode path never muxed it. The audio is now muxed in, honouring
trim_to_audio. (nodes/save_video_node.py) - Load Video Path Legacy Workflow Values: Inserting
enable_maskmid-list would have shifted every later widget value by one in workflows saved before it existed (ComfyUI restoreswidgets_valuespositionally), landingmask_modeon the toggle,mask_output_typeonmask_mode, and so on.onConfigurenow detects the shift — a string in the BOOLEANenable_maskis the tell — and slides the seven affected values back into place. Workflows predatingmask_modeentirely fall short of that index, keep their defaults, and correctly skip the repair. (src/nodes/load_video_node.ts) - Stale Mask Overlay: The Load Video Path preview no longer renders a leftover mask overlay when
enable_maskis off but a savedshow_mask_previewwastrue.