The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix missing frames in SaveWEBM node.
comfyanonymous0c32f822987e
diff --git a/comfy_extras/nodes_video.py b/comfy_extras/nodes_video.pyindex f3922e03d..53920ba18 100644--- a/comfy_extras/nodes_video.py+++ b/comfy_extras/nodes_video.py@@ -59,6 +59,7 @@ class SaveWEBM:frame = av.VideoFrame.from_ndarray(torch.clamp(frame[..., :3] * 255, min=0, max=255).to(device=torch.device("cpu"), dtype=torch.uint8).numpy(), format="rgb24")for packet in stream.encode(frame):container.mux(packet)+ container.mux(stream.encode())container.close()results = [{