-
Notifications
You must be signed in to change notification settings - Fork 16
Metadata key coming through empty from AAF - causing parse error #61
Description
Move issue from AcademySoftwareFoundation/OpenTimelineIO#520
Hey team,
Just stumbled across this issue, which was a fun one to try and debug! When reading an AAF out of Media Composer (a test project for us to look at TITLES clips) we're seeing an issue with how the metadata is being presented, causing a crash in the C++ JSON parser. Within the
"Parameters"block, the first Key is empty, with a value offalsee.g."Parameters": { "": false, "Angle ": "135", "AvidEffectID": {}, "AvidParameterByteOrder": 18761, "Blue ": "0", "Bold": false, "Color Gradient": false, "Descenders": true, ... }Any one have an idea as to what this field is supposed to be? If I manually add in a field it parses fine, but the OTIO that's being generated is coming out this way, meaning there's currently no way for us to read it without manually manipulating it.
AAF that's causing the error here:TitlesTest_EmptyMetadataKey_190528.aaf.zip
If you generate an OTIO from this file, the offending code is on line 760, and again on line 854: