-
Notifications
You must be signed in to change notification settings - Fork 293
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
AAF adapter #230
AAF adapter #230
Conversation
Turned off lots of debugging print statements.
… (only remove them from Stacks).
…range and in_offset/out_offset.
…identical to how Avid Media Composer flattens.
* Install PyAAF via wheel so the contrib AAF adapter tests run in CI. * Make OTIO_AAF_PYTHON_LIB optional. * Added some comments about dependencies only needed for contrib adapters.
Addresses #1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some notes about some dead code that could be noted or removed, but this is really exciting and looks great!
result[child.name] = str(child.mobID) | ||
elif isinstance(child, aaf.mob.SourceMob): | ||
result[child.name] = str(child.mobID) | ||
# elif hasattr(child, "name"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented out code - did you want to prune this out or leave this in for the future?
# self.extendChildItems([item.dictionary()]) | ||
|
||
# elif isinstance(item, DummyItem): | ||
# self.extendChildItems(item.item) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More commented out code - did you want to prune this? Otherwise leaving a #@todo comment might help leave a note for future developers
child.source_range.duration -= after.out_offset | ||
|
||
for c, child in enumerate(thing): | ||
_fix_transitions(child) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like you don't need an enumerate, just a regular loop should do.
Added an adapter for reading Advanced Authoring Format (AAF) compositions into OTIO.
This contrib adapter requires PyAAF 1.0.0 to work: https://github.com/markreidvfx/pyaaf/releases