Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Batch processing for videos? #420

Open
eyeEmotion opened this issue Mar 8, 2024 · 2 comments
Open

[FEATURE REQUEST] Batch processing for videos? #420

eyeEmotion opened this issue Mar 8, 2024 · 2 comments

Comments

@eyeEmotion
Copy link

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.

@petermg
Copy link

petermg commented Mar 14, 2024

This sounds like an amazing idea!

@semjon00
Copy link
Collaborator

semjon00 commented Jun 3, 2024

The proper fix would be to make video generation streamable - it converts some frames (maybe, like, 100), then saves some frames, appending them to some file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants