Kosinkadink / ComfyUI-VideoHelperSuite

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

not enough memory #125

Open yeloveyou opened 7 months ago

yeloveyou commented 7 months ago

image I Upload a 211MB video.

AustinMroz commented 7 months ago

At that size of input video, you'll need to make use of the force_size and force_rate options to reduce the video quality, or frame_load_cap and skip_first_frames to only load a portion of the video.

Compressed video is super efficient, but in order to perform processing on it, ComfyUI needs that video is a space inefficient format and a 211MB input video is far too large to do processing on all at once. Some quick math with a 240MB video I have gives an eye watering 473 GB of required memory (1920*1080*30*634 seconds*3 channels*4 bits/channel) before even considering that future nodes will need additional memory to process that.