mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-15 04:52:31 +08:00
fix: change SaveAnimatedWEBP default method from 'default' to 'fastest' (fixes #13300)
The 'default' compression method maps to WebP method=4, which is significantly
slower than method=0 ('fastest'). For animated WebP with many frames (e.g. 120
frames of video), this resulted in encoding times of 2+ minutes.
Changing the node default to 'fastest' (method=0) reduces encoding time by ~3x
while still allowing users to select higher compression methods when needed.
This commit is contained in:
parent
13917b3880
commit
f4d4dfaa66
@ -196,7 +196,7 @@ class SaveAnimatedWEBP(IO.ComfyNode):
|
||||
IO.Float.Input("fps", default=6.0, min=0.01, max=1000.0, step=0.01),
|
||||
IO.Boolean.Input("lossless", default=True),
|
||||
IO.Int.Input("quality", default=80, min=0, max=100),
|
||||
IO.Combo.Input("method", options=list(cls.COMPRESS_METHODS.keys())),
|
||||
IO.Combo.Input("method", options=list(cls.COMPRESS_METHODS.keys()), default="fastest"),
|
||||
# "num_frames": ("INT", {"default": 0, "min": 0, "max": 8192}),
|
||||
],
|
||||
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user