Kosinkadink / ComfyUI-VideoHelperSuite

Nodes related to video workflows
GNU General Public License v3.0
513 stars 90 forks source link

Select Nodes for Latent/Images/Masks #251

Closed Kosinkadink closed 1 month ago

Kosinkadink commented 1 month ago
Quasimondo commented 1 month ago

I have the strange issue that the "latents" input dot does not appear on the VHS combine video node, whereas the "VAE" pin does show up. When I look at the source code in custom_nodes I can see that is part of the "optional" inputs. I also tried restarting or resizing the node, but no success. Any idea what could be the reason? workflow

AustinMroz commented 1 month ago

The latent input is hidden until a vae is attached.

https://github.com/user-attachments/assets/446b7b07-8e80-44f7-9191-1f5b316aedee

Quasimondo commented 1 month ago

Oh yes I see - thanks for the pointer! Whilst this is a clever approach I am not sure if I find it that useful, since it is not self-explanatory and requires people to know that instead of an image they can also use latents. And the part where the connection gets dropped if I remove the vae might also lead to involuntary errors.

AustinMroz commented 1 month ago

This sounds like a misunderstanding of the purpose. The functionality was primarily added for memory optimization and any quality of life it provides is entirely secondary. I am confident it would cause significantly more issues if the user was allowed to freely make connections.

That said, improved documentation in-node documentation to better explain stuff like this is planned.

Quasimondo commented 1 month ago

First of all I think it is great to have the VAE encoder now directly in the there so I have no complaints about that. In the end I guess it is a matter of personal preferences - I prefer to see all my options and potentially get a warning if I use an unsupported combination rather than not seeing an option at all. So yeah my preference would be - have all input pins available, if latent + vae + images are present use latent, otherwise use image.