Question regarding Importer
Hi !
I'd like to build an Importer so I can import custom files into After Effects. I'll call this plugin ImporterA
This will allow users to place my custom file as a layer in a comp, and reference this layer from a Layer selector in another plugin of mine, which i'll call PluginB.
I want PluginB to be able to read the data from the imported ImporterA file, so my question is:
When PluginB selects an ImporterA layer, does it:
1- receive the path to the actual file so it can open it and retrive its data, or
2- ImporterA is the one opening the file and passing its content, or part of it, to PluginB ?
Ideally, i'd like if option 2 was possible, but in the end, both would work.
In the case of option 2, does ImporterA reads the file content every frame or it gets "cached" once imported and then just passed along when asked ?
Also, bonus question: I read Adobe is pushing for Premiere SDK when it comes to building Importers, just want to make sure is it best to use AE's AEGP SDK or Premiere SDK Importer in that case ?
Thanks !
Gab