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

Time warp fixes: Trim-to-fill #54

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

jminor
Copy link
Member

@jminor jminor commented Dec 12, 2024

Fixes jminor/otio-time-warp-test-suite#2

This PR attempts to fix the AAF->OTIO conversion of trim-to-fill time warp effects. Previously, they were translated as generic TimeEffects without any information (just a dump of AAF metadata). Now they are detected as LinearTimeWarp effects and a time_scalar is computed from keyframes and/or SpeedRatio.

Note, this PR is a draft. Further unit tests need to be added to verify correct behavior.

Also note that I did this work on top of @markreidvfx 's #44 but I believe this PR could be separated from that one, since the change is unrelated.

@jminor jminor force-pushed the time-warp-fixes branch 3 times, most recently from d988f32 to f564c70 Compare December 18, 2024 08:00
@jminor
Copy link
Member Author

jminor commented Dec 18, 2024

I have rebased this onto the main branch instead of Mark's PR so we have the option of landing this before or after that.

I have added a unit test which checks the time warp effect type and linear time_scale value. Currently several of the time scale values are incorrect & need to be investigated in more detail.

jminor and others added 3 commits January 29, 2025 10:23
Signed-off-by: Joshua Minor <joshm@pixar.com>
Signed-off-by: Joshua Minor <joshm@pixar.com>
Signed-off-by: Joshua Minor <joshm@pixar.com>
jminor and others added 2 commits January 30, 2025 10:05
Signed-off-by: Joshua Minor <joshm@pixar.com>
…as well as

extends the transcribe_linear_time_warp function to better handle reverse time
effects.
…as well as

extends the transcribe_linear_time_warp function to better handle
reverse time
effects.

Co-authored-by: Kathryn Miller <kathrynm@pixar.com>
Copy link

linux-foundation-easycla bot commented Feb 26, 2025

CLA Not Signed

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

Successfully merging this pull request may close these issues.

Trim-to-fill time warp effects appear as the wrong type
2 participants