-
1. Re: CS6 Exporter Plugin doesn't open in Premiere Elements 11 (Windows)
Zac Lam Jun 17, 2013 5:01 PM (in response to nvenc4everyone)I'm checking on this for you. At first glance, it looks like it may be related to your exporter's implementation of exSelQueryExportFileExtension.
Zac
-
2. Re: CS6 Exporter Plugin doesn't open in Premiere Elements 11 (Windows)
nvenc4everyone Jun 17, 2013 9:46 PM (in response to Zac Lam)Hmm, I forgot about using Visual Studio's debugger. After some debugging, the error was triggered the first time the SDK_Exporter plugin called anything involving the <exportParamSuite>.
After a little more digging, I found that Adobe Premiere Elements 11 doesn't support the latest version of the exportParamSuite (kPrSDKExportParamSuiteVersion4).
In the CS6 SDK sample project SDK_Exporter, the function exSDKBeginInstance() grabs all of the suiteAPIs. The following call fails:
spError = spBasic->AcquireSuite(
kPrSDKExportParamSuite,
kPrSDKExportParamSuiteVersion, // CS6 supports v4, but crashes in Premiere Elements 11
const_cast<const void**>(reinterpret_cast<void**>(&(mySettings->exportParamSuite))));
The original-call returns an spError code of <kSPSuiteNotFoundError>, which is actually misleading. I changed the version-argument to v3, and the error-call went away.
spError = spBasic->AcquireSuite(
kPrSDKExportParamSuite,
kPrSDKMemoryManagerSuiteVersion3, // compatible with Premiere Elements 11
const_cast<const void**>(reinterpret_cast<void**>(&(mySettings->exportParamSuite))));
...
so it looks like Premiere Pro CS6 SDK's sample SDK_Exporter project requires a few tweaks to run with Premiere elements 11.
-
3. Re: CS6 Exporter Plugin doesn't open in Premiere Elements 11 (Windows)
Zac Lam Jun 18, 2013 9:12 AM (in response to nvenc4everyone)Thanks for the feedback there! I've passed it along to the Premiere Elements team. Although the PPro SDK sample projects are not written specifically for Premiere Elements, ideally they should work without modification.
Zac
-
4. Re: CS6 Exporter Plugin doesn't open in Premiere Elements 11 (Windows)
Zac Lam Jun 18, 2013 12:49 PM (in response to Zac Lam)The Premiere Elements team notes that Premiere Elements 11 is based on the CS5.5 version of MediaCore. So using the CS5.5 SDK is probably the best way to build plug-ins to specifically target Prem El 11.
-
5. Re: CS6 Exporter Plugin doesn't open in Premiere Elements 11 (Windows)
nvenc4everyone Jun 19, 2013 7:14 AM (in response to Zac Lam)Thank you,
one more question ... is there an API-call for plugins that will report information about the running host Adobe-app? Like whether it is Premiere Pro, Media Encoder, or Premiere Elements? And what version-API the host app supports?
-
6. Re: CS6 Exporter Plugin doesn't open in Premiere Elements 11 (Windows)
Rallymax-forum Jun 19, 2013 9:27 AM (in response to nvenc4everyone)It's in the StdParams.interfaceVer struct passed to the plugin.
Headers\PrSDKExport.h
#define prExportVersion100 1 // 9.00
#define prExportVersion101 2 // 9.0.1
#define prExportVersion200 3 // CS5
#define prExportVersion250 4 // CS5.5
#define prExportVersion300 5 // CS6
#define EXPORTMOD_VERSION prExportVersion300 // current version
typedef struct
{
csSDK_int32 interfaceVer; // version # of interface (currently EXPORTMOD_VERSION)
plugGetSPBasicSuiteFunc getSPBasicSuite;
} exportStdParms;
I don't trust it though and do it by trial and error
spError = spBasic->AcquireSuite(
kPrSDKExportParamSuite,
kPrSDKMemoryManagerSuiteVersion4, // aka kPrSDKExportParamSuiteVersion, // CS6 supports v4
const_cast<const void**>(reinterpret_cast<void**>(&(mySettings->exportParamSuite))));
if ( spError )
{
// Try again with the next version back...
spError = spBasic->AcquireSuite(
kPrSDKExportParamSuite,
kPrSDKMemoryManagerSuiteVersion3, // compatible with Premiere Elements 11
const_cast<const void**>(reinterpret_cast<void**>(&(mySettings->exportParamSuite))));
}
-
7. Re: CS6 Exporter Plugin doesn't open in Premiere Elements 11 (Windows)
Zac Lam Jun 19, 2013 11:29 AM (in response to nvenc4everyone)The App Info Suite lets you know the host application and version number of the application. As Rallymax points out, the exporter API version is passed in.



