thygate / stable-diffusion-webui-depthmap-script

High Resolution Depth Maps for Stable Diffusion WebUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEATURE REQUEST] Batch processing for videos?

eyeEmotion opened this issue · comments

Hi,

is there a reason why you can't batch process video's?
I have to cut a 2 hour movie into 3 minute-parts, even 2 minute-parts when using Depth Anything (which I finally got working and the results are amazing for what I need it for). And it takes around 30 to 40 minutes for generating, computing and saving a Depthmap video file. And then I have to manually add the next video. So I have to constantly be around to start the next clip and I have around 60 of them.
Because it also consumes a lot of my RAM, there is not much else I can do on my computer while it's processing. So for me it would be ideal to line up a few videos so it can do its thing during the night, when I'm sleeping.

As the elements are already there, wouldn't this be straightforward to implement? And ofcourse make sure the generated depthmap videos don't get overwritten by the next in line. I think that can be addressed by saving the file for example as "dpt_" + filename of the source video.

Would help me a lot, as I already have a lot of manual cutting and merging to do because of the limits with RAM-Memory.

Cheers.

This sounds like an amazing idea!