I understood from the SDK documentation that an exporter plugin should be usable in Premiere Pro, Media Encoder and AfterEffects.
The Windows exporter plugin I've developed (using the SDK Exporter example in the SDK) works well in Media Encoder but I couldn't see it in AfterEffects.
I attached a debugger, and found that the plugin was being loaded, and received `exSelStartup`, but the next selector it received had the value 15. The SDK example doesn't have a selector with this value:
Can anyone help?
exSelStartup, // fill exExporterInfoRec
exSelShutdown, // pro forma: plug-in should release and be ready for app shutdown.
exSelBeginInstance, // make private data. Persistent until exSelEndInstance is called.
exSelGenerateDefaultParams, // generate a default set of params
exSelPostProcessParams, // validate params from preset/disk. Fill all localized param names, load all constrained value pairs
exSelValidateParamChanged, // validate 1 param changed. Exporter should hide/dim/change any settings
// related to this one param using the ExportParamSuite, e.g. dimming a control when a
// related checkbox is checked/unchecked
exSelGetParamSummary, // generate export text summary description
exSelParamButton, // respond to a paramButton. generate opaque param info
exSelExport, // export!
exSelQueryStillSequence, // ask a still-only exporter if it wants to export
// as a sequence, and at what frame rate.
exSelQueryOutputSettings, // query the exporter for general details about the current settings. This is a required selector.
exSelValidateOutputSettings // ask the exporter if it can export with the current settings.
// exporter should return exportReturn_ErrLastErrorSet if not, and the error string
// should be set to a description of the failure.
It would be good if the documentation could be updated - info in the AfterEffects SDK on the IO and FBIO input/output samples says that AEIOs are no longer preferred, and while only import is explicitly mentioned it's not clear that export isn't supported (as one would hope when being redirected from a sample which performs both input AND output):
and the Premiere Pro SDK doesn't mention any caveats with exporter plugin support in AfterEffects, so I assumed the documentation was just a little bit incomplete, as opposed to export NOT being supported at all in AE:
Oh well. At least I have a plugin that works in MediaEncoder now. Ideally I would be able to extend my existing native exporter in AfterEffects, connecting through AME can be quite clunky. My original problem with the AEIO I have was an inability to easily add a "Format Options" dialog (ideally with the same AE look-and-feel) to select the output codec, any answers gratefully received:
Nice work! The PPro C++ SDK hasn't been updated in a while; some new selectors have been added, since the version of PrSDKExport.h, from which you're working. [And yes, we'll be updating the SDKs Sometime Soon™...]
The selector you're receiving is exSelStartupLicense; looking through the PPro source base, there's nothing your plug-in should do in response; exportReturn_ErrNone is the right response.