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

TimeEffect to LinearTimeWarp Conversion Fixes #59

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kathryn184
Copy link

Includes a test aaf and further testing for the time effects -> linear time warp conversion. Most of these changes were pulled from Josh Minor's forked adapter. The added test is incomplete, as the test aaf contains more clips that need tests written for them. It does, however test that the trim to fill, fit to fill, and backwards time effects are properly converted to linear time warps.

This includes and slightly extends #54

From that pull request:
"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."

…as well as

extends the transcribe_linear_time_warp function to better handle reverse time
effects.
Copy link

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.

1 participant