• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Premiere GPU effect on AfterEffects : PrSDKOpaqueEffectDataSuite not available in AE

Explorer ,
Jul 04, 2024 Jul 04, 2024

Copy link to clipboard

Copied

Hello,

 

I have written a PremierePro plugin that expose GPU rendering via PrGPUFilterModule template which add a xGPUFilterEntry entry point.

 

In AfterEffects, it is detected as a GPU filter however, I am using:

  • PF_UtilitySuite4 to GetFilterInstanceID
  • PrSDKOpaqueEffectDataSuite to store data used by plugin instances.

But these suites are not available in AfterEffects.

 

Is there a way to get a mechanism to pass "opaque" data between AE "EffectMain" and PPro "xGPUFilterEntry" ? in_data->sequence_data is not available in xGPUFilterEntry and AcquireOpaqueEffectData was the way I found in PremierePro to exhange data BUT the corresponding suite is not available in AE!

 

Thanks in advance

 

David

TOPICS
Effects and Titles , Hardware or GPU , SDK

Views

243

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 30, 2024 Jul 30, 2024

Copy link to clipboard

Copied

LATEST

I have done some investigations and the `xGPUFilterEntry` (CreateInstance) callback seems to be able to acquire the kPrSDKOpaqueEffectDataSuite using:

mSuites->utilFuncs->getSPBasicSuite()->AcquireSuite(kPrSDKOpaqueEffectDataSuite, kPrSDKOpaqueEffectDataSuiteVersion, (const void**)&mOpaqueEffectSuite);

 

However trying to get the suite in AE's EffectMain, I got an exception when using: 

AEFX_SuiteScoper<PrSDKOpaqueEffectDataSuite> opaqueEffectDataSuite(in_data, kPrSDKOpaqueEffectDataSuite, kPrSDKOpaqueEffectDataSuiteVersion, out_data);

So, it seems to me that the suite code is avaibale in AfterEffects but I have no idea to get a pointer to it in the AE's EffectMain callbacks ?

 

What should/could I do ?

 

Thanks in advance.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines