Split a long video into smaller segments and calculate the depth separately
If the video is too long and the depth consumes a lot of memory during the composition phase, can it be changed to many 10-second segments to calculate the depth video and then merge it into the final depth video?
Hi, what is the resolution and how many frames do you have? In most cases it should fit into the memory. Otherwise, you can try to use a larger downsample factor during the co-alignment process by passing coalign_kwargs={'factor': 20} to this line
I want to handle a two-hour movie in 4k resolution......
@markkua Isn't that technologically impossible at this stage? I use cpu to run, it does not require high computer memory
I assume the movie is not "long take"? In this case, you can split it into several cuts by the transitions.
thanks