-
Notifications
You must be signed in to change notification settings - Fork 273
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
New feature implementation of writing AAF files from otio files in the AAF adapter #432
New feature implementation of writing AAF files from otio files in the AAF adapter #432
Conversation
52435c1
to
3c9c810
Compare
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
Co-author-by: Shahbaz Khan <shahbazk@pixar.com>
Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
with moving ownership of compositionmob to the AAFFileTranscriber class Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
Also conforming to pep8. Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
["Length"] instead of duration. We really should look into this bug. Right now working around. Using soft gets in aaf_transition() in places where we might not have values. Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
removing the point_list check in aaf_transition() Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
This commit should be relatively clean. Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
- clean up comments - functionilized descriptors into base class - fixing exceptions, raising stricter exceptions Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
- Transition type checking - Rename aaf_file_transcriber to root_file_transcriber - Rename precheck to validate_metadata and made a free function Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com
Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com
Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #432 +/- ##
==========================================
+ Coverage 86.52% 87.15% +0.63%
==========================================
Files 66 67 +1
Lines 6233 6734 +501
==========================================
+ Hits 5393 5869 +476
- Misses 840 865 +25
Continue to review full report at Codecov.
|
Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
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.
Looking good! These notes are down in the details and pretty nit picky, but they can help with legibility and maintainability down the road. Thanks for sticking through this, this is really close! Let me know if you have any questions!
"""Get a unique tapemob, identified by clip metadata mob id.""" | ||
mob_id = otio_clip.metadata["AAF"]["SourceID"] | ||
tape_mob = self._unique_tapemobs.get(mob_id) | ||
if not tape_mob: |
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.
Inverting this would allow you to dedent the block and make the else
condition more clear:
if tape_mob:
return tape_mob
...
# Currently, we only support clips that are already in Avid with a mob ID | ||
mob_id = otio_clip.metadata["AAF"]["SourceID"] | ||
master_mob = self._unique_mastermobs.get(mob_id) | ||
if not master_mob: |
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.
Inverting this could also make it more readable (see next comment).
_TrackTranscriber. Additional comments. Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
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.
Looks great. Thanks for that!
…e AAF adapter (#432) Initial commit of OTIO->AAF Writer from @freesonluxo and @shahbazk8194 . Co-authored-by: Shahbaz Khan <shahbazkhan8194@gmail.com>
This is an initial implementation of the AAF writer in AAF adapter.
Co-authored-by: Shahbaz Khan shahbazkhan8194@gmail.com