-
Notifications
You must be signed in to change notification settings - Fork 289
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 Clip Enabled/Muting Update #1277
AAF Clip Enabled/Muting Update #1277
Conversation
…tor objects, along with small changes to the simplify function for correct handling.
…ects with new clip enabled flag. Failing test due to incorrect AAF media. Some small formatting changed.
Let me open that test AAF in Media Composer and/or make a fresh one so we can be clear. If you can make a test AAF from Premiere or Resolve that might help to illustrate the differences we saw previously. |
Here's the new AAF to match those screenshots: |
…ng and simplifying some code.
Codecov Report
@@ Coverage Diff @@
## main #1277 +/- ##
==========================================
- Coverage 86.19% 86.14% -0.06%
==========================================
Files 196 196
Lines 19795 19810 +15
Branches 2310 2314 +4
==========================================
+ Hits 17062 17065 +3
- Misses 2171 2181 +10
- Partials 562 564 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@jminor Thanks for looking in to that. I was wrong in my assumption there, as I think I'd misinterpreted some examples I was seeing a few weeks back.
Interestingly enough, neither Premiere or Resolve are actually handling this correctly, or consistently. Resolve is creating a Anyway... I've adjusted this PR and it's now passing the tests. I'll update our Matchbox branch to reflect this as well. |
Thanks @andrewmoore-nz ! |
* When reading AAF files with muted clips, use the OTIO `enabled = False` toggle to represent the muted state. * Some ground work for supporting muted tracks is here, but that is left for a future PR.
An extension of the AAF clip enabled/muting process, start in #1212
This covers the currently known cases of how clip mutes are being handled in the AAF, and the adjacent logic for the closely related scenarios of
ScopeReferece
objects, and multi-cam clip objects.@jminor In updating/running the tests for this, it looks like the test AAF file is actually not correct for this. If the
Selected
attribute in theSelector
object is aScopeReference
, as it is in that test file, I don't believe that specifically means the clip is muted. In all situations I've seen, where the clip is muted, theSelected
attribute should be aFiller
object.Is there anyone else who can weigh in on this? Looking at the AAF documentation, there's no mention of the
ScopeReference
specifically saying that it is to be considered muting the object.