Skip to content

v2.20.0

Latest

Choose a tag to compare

@AEmotionStudio AEmotionStudio released this 11 Sep 22:43
· 21 commits to main since this release

Added

  • SeedVR2 INT8 ConvRot Upscale Models: New seedvr2_3b_int8 and seedvr2_7b_int8 entries for upscale_model, loading checkpoints saved in ComfyUI's int8_tensorwise layout 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 with blockswap_blocks of 8 / 16 / 24. (core/seedvr/optimization/int8_ops.py, core/seedvr/core/model_loader.py)

    • How it works: Each quantized nn.Linear ships as an INT8 weight (pre-rotated round((W @ H_blkᵀ)/s)), an FP32 per-output-row weight_scale, and a comfy_quant tag holding the format JSON. The loader decodes those tags, swaps the matching nn.Linear layers for an Int8ConvRotLinear before applying the state dict, and dispatches to comfy_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-in positive_conditioning/negative_conditioning embeddings they carry are ignored, since this port uses its own pos_emb.pt/neg_emb.pt.
    • models/diffusion_models/ is now searched: SeedVR2 checkpoints in ComfyUI's native format land there rather than in models/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)
  • Save / Load Last Frame — Scene Continuation: New node pair for extending a shot across queue runs. FFMPEGASaveLastFrame writes the trailing frame(s) of a generation into a named slot under output/ffmpega_last_frame/<slot>/; FFMPEGALoadLastFrame reads 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 images is 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_path remains 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_count files 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_history switches to an accumulating archive instead.
    • Cold-start handling: on_missing (fallback / empty / error) plus a fallback_image input, 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/slot route 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 its enable_resize toggle, matching how LoadLastImage already treats the same shared widget group. Hiding is display-only — values are kept and still honoured.
    • Ordering: SaveLastFrame exposes a last_frame IMAGE 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 wildcard trigger input is provided as an explicit ordering hint.
    • Tests: New tests/test_last_frame_selection.py (torch-free index and slot-name logic) and tests/test_last_frame.py (round-trip, pruning, cold-start, ffmpeg tail extraction).
  • Load Last Video — last frame-select mode: frame_select_mode gained a last entry 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 fixed 0.01s used by first_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: FFMPEGASaveVideo gained 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_advanced disclosure: 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.copy2 with 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=10 streams 16-bit rgb48le frames and encodes yuv420p10le, 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: Writes prompt/workflow into 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 a comment tag, 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 the images output 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 by requestVideoFrameCallback so the number matches the picture on screen. The count and rate are probed from the file that was actually written — reusing probe_video_stats() from core/last_frame.py — rather than derived from the fps widget or images.shape[0], so pingpong, loop_count and pass-through sources all report the truth. A <video> element exposes neither value, so both ride along in the node's UI payload next to file_size; where ffprobe is unavailable the segment is simply omitted. The rVFC bookkeeping lives in a shared attachPlayheadTracker() 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 by src/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 in output/. 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, and ChangeTracker snapshots that map per workflow and reassigns the whole object when you return to a tab — which fires the onNodeOutputsUpdated extension 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 our ui dict, so it already carries the file plus the frame count and rate. The walk covers subgraphs, since the map spans the whole workflow while app.graph is 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 before onConfigure runs. This is where VideoHelperSuite's behaviour was the model but not its mechanism: VHS persists by rewriting widgets_values from 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 — properties gets 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 — /view 404s, the existing error handler 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 an overwrite run that replaces a file in place is never served from browser cache. Covered by src/nodes/save_video_node.test.ts, which drives the real handler through both restore paths.
  • Shared Encoding Module: New core/video/encode_opts.py is the single source of truth for colour policy, the format table, ffmpeg argument construction and the tensor→bytes conversion; core/video/metadata.py handles 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_SCAIL2 workflow, replacing the vendored SCAIL v1 pipeline. Loads the SCAIL-2 fp8 diffusion model via comfy.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 via comfy_extras.nodes_scail.SCAIL2ColoredMask, and samples through comfy.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 scail2 entry (~16 GB fp8) mirrored from Comfy-Org/SCAIL-2.
    • Tests: New tests/test_scail2.py.
  • FlashVSR Video Super-Resolution: New vendored FlashVSR backend with three pipelines — flashvsr_full, flashvsr_tiny and flashvsr_tiny_long — selectable from upscale_model. (core/flashvsr/, core/flashvsr_synthesizer.py)

    • Block Swap: blockswap_blocks drives DiSynth's num_persistent_param_in_dit budget, keeping DiT transformer blocks off-GPU (-1 = auto-size from free VRAM).
    • Processing Modes: flashvsr_processing (whole / temporal / spatial), plus flashvsr_frame_window, flashvsr_color_fix and flashvsr_decode_tile for near-lossless spatial decode tiling that bounds TCDecoder activation memory.
  • 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_model and 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_size dropdown folds the precision choice into the size value (0.4b, 0.8b, 1b, 5b, 5b (fp8)), parsed by the new parse_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 (and image_path_a) inputs and combine them into one side-by-side or grid comparison. Videos are laid out with ffmpeg xstack, 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.ts UI handler.
  • 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_right are exact mirrors. The canonical 468 vertices are read from the face_landmarker task bundle already on disk, so no vendored asset is required. (core/facecam_mesh.py, new mesh_source widget)

  • Shared Block-Swap Helper: New register_blockswap() used by SVI, SCAIL-2 and FaceCam. Rather than a custom offload engine, it inflates EXTRA_RESERVED_VRAM for the duration of prepare_sampling so 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_mixed upscale 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 to AEmotionStudio/SeedVR2-models.

  • Native SAM 3.1 Image Tracking Helper: New track_images_native_sam31() public entry point in core/sam3_masker.py, used by the SCAIL-2 pipeline.

  • Load Video Path — enable_mask Toggle: New BOOLEAN input that collapses mask_mode, mask_output_type, sam_version and show_mask_preview behind a single switch, so nodes that never mask show four fewer rows. When off, the backend forces mask_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_frames and frame_load_cap now carry a dimmed "N left" suffix showing how many source frames remain unused (frame_load_cap · 29 left, or all 54 when uncapped). Rendered through the widget's label, 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 document listener that dispatches to app.dragOverNode, which is only ever set by a dragover listener 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. (new attachFileDropZone() in src/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 upstream sam3 pip package in a subprocess. The model loads as a standard ModelPatcher, 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's forward_video/forward_segment, _extract_text_prompts, and unpack_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-sam3 path. Set FFMPEGA_SAM3_NATIVE=0 to force the legacy path.
    • Public API of mask_video / mask_video_subprocess is unchanged — no node call sites required modification. Image masks and plain SAM 3 video are untouched.

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's load_model_gpu offloads 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_mode expanded to 31 modes with the addition of svi, sharp, wan_animate, scail2, phyfps, onion_skin, comparison, video_matting and sapiens2.
  • Video Colour Handling — Selectable Policy, Applied Everywhere: New color_policy widget 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, tagged bt709 primaries with the honest iec61966-2-1 transfer, 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 tagged bt709. This is what VideoHelperSuite intends; note its fake_trc mechanism is a no-op on FFmpeg 8, so it is not reproduced here.
    • ComfyUI native match — no conversion and no tags, byte-identical to CreateVideo → 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_primaries and -color_trc passed as output options are silently dropped by FFmpeg 8 — the stream ends up tagged unknown for both, which was true of FFMPEGA and VideoHelperSuite. Tagging now goes through the setparams filter, which was verified to write all four values. Builds without setparams (pre-4.3) fall back to the legacy flags.
  • SVI Block Swap & Tiled VAE: New blockswap_blocks (of 40 Wan 2.2 transformer blocks) and tiled_vae options. 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_blocks widget wired through the shared register_blockswap() helper. (nodes/facecam_node.py)
  • Load Video Path Upload Request: The upload now goes through api.fetchApi() rather than a bare fetch("/upload/image"), matching VideoHelperSuite. apiURL() resolves the route as api_base + "/api" + route, and fetchApi attaches the Comfy-User and 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 arrangeWidgets gives every widget with a computeSize a fixed height and splits the node's leftover height among the rest — with no computeSize the button was the only flexible widget and absorbed all of it, stretching as the node grew.
  • Shared UI Helpers: toggleWidget() and fitHeight() are now imported from src/shared/ui_helpers.ts by 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_key input, config/models.yaml and its opt-in live model fetch (core/model_config.py), the Anthropic image-block helpers in mcp/vision.py, and the api_key metadata scrubbing that only existed to protect that input.
    • custom now means Ollama: Any name typed into custom_model goes to Ollama. There is no longer any provider detection by name prefix.
    • Saved workflows: ComfyUI restores widget values by position, so removing api_key would have slid every later value onto the wrong widget. The Agent node now splices the old api_key slot 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_model now fails ComfyUI's "value not in list" check at queue time; pick a CLI or Ollama model.
  • 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) and core/scail_synthesizer.py — roughly 4,100 lines superseded by the ComfyUI-native SCAIL-2 synthesizer above.

Fixed

  • Ollama gpt-oss models were sent to OpenAI: Connector routing sent any model name starting with gpt to the OpenAI API, so Ollama's own gpt-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_model dropdown: They were inserted before the last Ollama model instead of after it. (nodes/agent_node.py)
  • allow_model_downloads=False blocked SeedVR2 even with every weight already on disk: _load_model called require_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 new require_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_frames without passing a mode, so it inherited that method's "preview (64)" default and sampled each video down to 64 frames with np.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_cap and select_every_nth remain 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_count from 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_frames is now a thin wrapper and its mode argument is required, so the old default cannot be inherited by accident again. A test asserts the loader never mentions SaveVideoNode.
  • Save Video's images output defaulted to a 64-frame preview: same sampler, same consequence one node downstream — wiring that output anywhere re-encoded a time-compressed clip. frame_output now defaults to all; 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: fps was INT with min: 1, so 23.976 and 29.97 were unreachable. It is now FLOAT (matching VHS's floatOrInt), and the compose path no longer truncates it with int(). The tooltip also states when the widget applies — a pass-through file under source (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 an fps in two places, so a frames-in run stamped its temp video — and therefore the agent's video_path output — 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_ffmpeg passed -vsync vfr, which ffmpeg 8 removed outright (-fps_mode replaced it in 5.1). Every dense decode failed with Unrecognized 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 vfr and retries with -vsync only when ffmpeg reports the option as unknown, the same dance core/last_frame.py already does. (loadlast/processing/video_decode.py)
  • SeedVR2 seedvr2_7b_fp8_mixed unreachable from the skill layer: The variant was in the node dropdown but missing from skills/handlers/upscale.py and the ai_upscale skill's choices, 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_cap set (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 a timeupdate listener, 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 used availFrames / effFps, but 60 frames taken every 2nd are spread across 120 source frames — playback was cut off halfway. Now via the shared rangeEndSeconds().
    • 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.
  • Load Video Path Frame Counter Never Appeared: The live counter was gated on _srcMeta.fps > 0, set only if the /ffmpega/video_info probe 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 the f unit 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 number skip_first_frames needs. (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 under inference_mode drops 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 yuvj420p full-range output to yuv420p. See the colour-range change above. (core/media_converter.py)
  • Full-Range Tag on Limited-Range Video: Three encoders tagged their output -color_range pc while 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_video and 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.py converted 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: xstack does 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_audio always wrote its temp output as .mp4 and always encoded AAC, so -c:v copy of a VP9 stream failed — and the failure was swallowed by a bare except: 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.py passed a mode mux_audio never defined, which fell through to trim. replace is 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_mask mid-list would have shifted every later widget value by one in workflows saved before it existed (ComfyUI restores widgets_values positionally), landing mask_mode on the toggle, mask_output_type on mask_mode, and so on. onConfigure now detects the shift — a string in the BOOLEAN enable_mask is the tell — and slides the seven affected values back into place. Workflows predating mask_mode entirely 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_mask is off but a saved show_mask_preview was true.