-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
CompositeVideoClip - Different rules for clip appereance #1162
Comments
Hello, thank you for raising this. I believe that everything you need is possible using only one CompositeVideoClip. You should be able to arrange the order of However, I was thinking of adding a |
@tburrows13 I feel like most of the time people coming from video editing industry think of compositing in terms of "layering" videos one on top of the other. My suggested change would be to go with something like: but when user explicitly uses it:
I have purposely ommited any Depends on how it works in the backend every layer could be initializing new array which would later be added to the end of existing array effectively introducing the feature. |
Ok, that makes a lot of sense. I don't know much about professional video editing, but I've come across layers before. Would you expect layer 2 to be 'on top of' layer 1, or the other way round? It seems like it would be a fairly simple feature to add, it would just mean CompositeVideoClip sorting |
|
Implemented in #1176 :) |
I have stumbled upon this problem while coding a feature involving clips being sorted in a different manner than the one intended by the CompositeVideoClip.
What i mean by that is that usually while working with any video (outside of Python). You imagine the videos in layers where You would like to have different layers.
At this point every Video is in its own layer based on the index on the list [clip0, transition_clip, clip1], would make it that clip1 is cutting the transition_clip.
I haven't tested any workarounds. but I suspect that this might be solved by using Two CompositeVideoClips with two lists of clips with different .start_time() parameters.
That would mean using:
Which might not be computationally efficient at all as there are 3x nested clips.
Please note that the code shown above is not fully operational. I have ommited .set_start()
Which leads me to thing that this might be solved simply by sorting the lists somehow.
The text was updated successfully, but these errors were encountered: