ComfyUI-fastblend

ComfyUI-fastblend
★ 232

视频处理帧插值时序一致性ComfyUI节点
为ComfyUI提供快速视频帧融合与插帧节点,提升video2video的时序连续性与渲染效率
💡 在video2video流程中平滑帧间过渡并局部插帧提升连贯性
🍴 20 Forks💻 Python🔄 2024-11-22
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/6862a2001521
📦 requirements.txt
cupy-cuda12x
📄 README

ComfyUI-fastblend

fastblend for comfyui, and other nodes that I write for video2video. rebatch image, my openpose

fastblend node:

  • smoothvideo(逐帧渲染/smooth video use each frames)
  • interpolateKeyFrame(插帧、只选一部分帧渲染/smooth video only use a portion of the frames)
  • parameter meaning:

  • accuracy: larger is better, 1 is enough for most situation
  • window_size: how smooth the video.
  • minimum_patch_size: odd number(important), larger is better
  • num_iter: Number of iterations, larger is better
  • Guide weight: a parameter that determines how much motion feature applied to the style video.
  • Batch size: a larger batch size makes the program faster but requires more VRAM.
  • time complexity(accuracy=1): log(window_size) * minimum_patch_size^2 * num_iter * video length * video resolution
  • other nodes for making video:

  • rebatchimage: especially for fastblend,Simultaneously render images (720p, 24G video memory, batch_size can be adjusted to 40), speed up about 40%.
  • myopenpose: 因为dw_openpose在人物转身的时候不能识别人物后背,但是在人物姿势方面比openpose准确,而openpose可以很好的识别后背,这个就是结合了它两的优点
  • examples are in example directory.And other nodes don’t have much use,so I’m not going to introduce.

    Install:download the .zip and unzip to ComfyUI\custom_nodes.

    Fastblend main code is from https://github.com/Artiprocher/sd-webui-fastblend

    I just made it work in ComfyUI.

    March 28, 2024:

    New node:

  • alert when finished: just input the full path(…\…\custom_nodes\ComfyUI-fastblend\drop.wav) of a sound, it will play after this node gets images.
  • merge image list: the “Image List to Image Batch” node in my example is too slow, just replace with this faster one.