Skip to content

TimeEffect to LinearTimeWarp Conversion Fixes#59

Closed
kathryn184 wants to merge 1 commit intoOpenTimelineIO:mainfrom
kathryn184:time-warp-fixes
Closed

TimeEffect to LinearTimeWarp Conversion Fixes#59
kathryn184 wants to merge 1 commit intoOpenTimelineIO:mainfrom
kathryn184:time-warp-fixes

Conversation

@kathryn184
Copy link
Copy Markdown
Contributor

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.
@linux-foundation-easycla
Copy link
Copy Markdown

CLA Not Signed

@jminor
Copy link
Copy Markdown
Member

jminor commented Mar 8, 2025

This work has been merged into #54 Thanks for the assistance!

@jminor jminor closed this Mar 8, 2025
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.

2 participants