You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, im trying to extract certain data from exported aaf. I need to know the timecode of certain effects, for example, stabilizations, motion fxs and fluid morphs. I already can discover the effects with this code, but i need help on how to get the timecode in timeline:
`
with aaf2.open(aaf_file, 'r') as f:
for mob in f.content.compositionmobs():
if mob.usage and 'TopLevel' in mob.usage:
timeline = mob
for slot in timeline.slots:
if slot.media_kind == 'Picture':
for comp in slot.segment.property_entries.values():
if 'Components' in comp.name:
for item in comp.value:
if item.name == 'OperationGroup':
print(item.operation.name)
elif item.name == 'Transition':
for prop in item.property_entries.values():
if prop.name == 'OperationGroup':
print(prop.value.operation.name)
`
Thank you very much for your awesome work !!
The text was updated successfully, but these errors were encountered:
Hi, im trying to extract certain data from exported aaf. I need to know the timecode of certain effects, for example, stabilizations, motion fxs and fluid morphs. I already can discover the effects with this code, but i need help on how to get the timecode in timeline:
`
with aaf2.open(aaf_file, 'r') as f:
`
Thank you very much for your awesome work !!
The text was updated successfully, but these errors were encountered: