Comfy-Org / Comfy-Org/ComfyUI

How to load frames from a video one by one?

Open
#1,755 0 comments 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

I have a video and I want to run SD on each frame of that video. I tried the load methods from [Was-nodesuite-comfyUI](https://github.com/WASasquatch/was-node-suite-comfyui) and [ComfyUI-N-Nodes](https://github.com/Nuked88/ComfyUI-N-Nodes) on comfyUI, but they seem to load all of my images into RAM at once. This causes my steps to take up a lot of RAM, leading to killed RAM. Is there a way to load each image in a video (or a batch) to save memory?
My computer configuration:
CPU: 12th Gen Intel(R) Core(TM) i5-12400F
RAM: 16Gb
GPU: NVIDIA GeForce RTX 3060 (12Gb Ram)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.