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

Incorrect trimming of clips with LinearTimewarps #1464

Open
jminor opened this issue Oct 26, 2022 · 0 comments · May be fixed by #1466
Open

Incorrect trimming of clips with LinearTimewarps #1464

jminor opened this issue Oct 26, 2022 · 0 comments · May be fixed by #1466
Labels
bug A problem, flaw, or broken functionality.

Comments

@jminor
Copy link
Collaborator

jminor commented Oct 26, 2022

When trimming a clip which contains a LinearTimewarp effect via flatten_stack or the underlying track_trimmed_to_range the resulting source_range on the trimmed clip is often incorrect.

To illustrate the problem see the screenshot below. When the tracks "Overlay B" and "Main B" are flattened to produce "Flattened B" the 2nd clip in the output (here named "Wrong Start") has the wrong start time. It should be "01:00:07:09" but instead it is "01:00:09:12".

image

For comparison, when I slice the timewarped clip in Avid Media Composer, I get the correct result in this screenshot. Here we see that the clip "Sliced in Avid" has the correct start time "01:00:07:09", and so does the resulting "Correct Start" clip after flattening.

image

This bug is due to the fact that track_trimmed_to_range makes no attempt to honor the timewarp effect on the clip.

@jminor jminor added the bug A problem, flaw, or broken functionality. label Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A problem, flaw, or broken functionality.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant