From 143aa53cfe70da2b853fce7d1b34f4cbb1f63f03 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 1 Nov 2026 11:37:36 +0000 Subject: [PATCH] Save Video: round to 8 bit instead of cutting down Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01Tw9fjW75aYB8UyVRZo6fCr --- modules/output/save/nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/output/save/nodes.py b/modules/output/save/nodes.py index a1494f86..f9941a44 100644 --- a/modules/output/save/nodes.py +++ b/modules/output/save/nodes.py @@ -128,7 +128,7 @@ class FunUISaveVideo(io.ComfyNode): @classmethod def execute(cls, images, fps=24.0, filename_prefix="FunUI", audio=None, encoder="auto", codec="h264", quality="high") -> io.NodeOutput: - frames = (images * 255).clamp(0, 255).byte().cpu().numpy() + frames = (images * 255).round().clamp(0, 255).byte().cpu().numpy() # rounded: a bare cast cuts every value down, a steady half-level darkening width, height = frames.shape[2], frames.shape[1] folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path( filename_prefix, folder_paths.get_output_directory(), width, height)