Description
I followed iluvcapra's excellent pro tools aaf example and managed to encode files with linked essence, however embedded essence seems more difficult. Upon importing, ProTools throws "Assertion in "....\FF\Audio\FF_AudioFile.cpp", line 1092", which is not terribly useful since the software is closed source. However it sees the file name and sometimes correctly positions the clip on the track. Cubase, on the other hand, either complains that it cannot find a composition or just crashes. Vegas and DigitalPerformer also crash but I suspect they generally cannot open embedded essence AAFs at all, since they also crash with ProTools AAFs.
Here's my code: https://pastebin.com/NRjf9n2c
I've been attempting various ways to embed the file (the different create_source functions are my attempts at making it look as close as possible to something PT itself would export), but so far none seems successful.
I understand this is not an issue with the library, but perhaps someone more experienced with the process could chime in and shed some light. Many thanks!