-
Notifications
You must be signed in to change notification settings - Fork 294
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 Reader: Global Start Time not being set for various files #522
Comments
The first file has two problems:
|
The second file has problem problem 2 in it: |
After analyzing this further, the heuristics we're using to pick the global start time don't seem to hold with your use case, with several places where your example breaks our assumptions. I'm not sure what heuristic is correct to determine that information more robustly. |
@ssteinbach - Okay... good to get some clarification on that. In all scenarios, these are files that have come straight out of Media Composer/Premiere, so it's certainly not an abnormal situation... that's how they're being generated. It looks like the scope of the information that is being accepted to determine this needs to be increased? The fact that we're unable to get correct time codes for either the master or the source values makes it practically unusable at this stage. |
I just took a peek at this. Looking at AAF edit protocol section 6.3, it appears that there is a concept of a "Primary" timecode track as denoted by a |
We were looking at this just now. |
Based on the AAF spec, I think we can skip even needing do that comparison. That appeared to be a way to select the "Best" timecode from a list of all possible timecodes. Given that it appears the AAF spec declares a "Primary" that is required ( For the record, here is an example of the start timecode from a 29.97 DFTC AAF starting at 5 hours:
So it looks like we can use |
Oh good. That comparison was just a heuristic that we added because we didn't know how to distinguish between them. I'd trust the spec over our guess any day :) |
Still coming across many scenarios where the
global_start_time
field is not being set when it should be. I see that this was supposedly addressed in #478 , and the test file included (.../sample_data/simple.aaf) seems to generate a validglobal_start_time
RationalTime object, but perhaps this being done in a too-specific way?An example here of an AAF from Premiere that starts at
05:00:00:00
, but when read in to an OTIO, the global_start_time comes through asnull
. For reference, the .xml that was exported from the same project/timeline comes through with the correct field set of:Files attached here:
FullTestSeq_v02_TimeshiftExport_5hours_AAF_XML.zip
Also seeing this with AAFs coming from Media Composer as well. This following example should start at
01:00:00:00
but is coming through with aglobal_start_time
ofnull
.ClipMutingTest_1hours_AAF.zip
The text was updated successfully, but these errors were encountered: