Skip to main content
Participant
May 18, 2024
해결됨

Premiere SDK. Is it possible to add an alpha matte through premiere script?

  • May 18, 2024
  • 1 답변
  • 577 조회

I'm working on a project which should create a dynamic mask of the object(s) of focus(or mimic one). So far I have the functionality to get the data of coordinates of pixels corisponding to that object from the Lucas-Kanade method. Basically I have an two color video, one color the dynamic "mask" of the object and the other of the background. Likewise I have this data as a binary matrix.

Does anyone know the method to to create an alpha matte in premiere script like you can do in AE. I've given up on an acctual mask as I don't know of any file types which can support transperency. If its not possible, perhaps there is a better method to mimic a mask; that'd be even better.

 

I've checked the guide and dug through what I could of the sample (A lot is a lot to follow honestly, I'm still new to adobe scripting), and I'm at somewhat of an inpass. Any suggestions are appreciated, thank you.

이 주제는 답변이 닫혔습니다.
최고의 답변: Bruce Bullis

AE Effect API SDK (PPro supports AE effect plugins): https://developer.adobe.com/after-effects/

Docs: After Effects SDK GuideAfter Effects SDK Guidehttps://ae-plugins.docsforadobe.dev

1 답변

Bruce Bullis
Legend
May 18, 2024

PPro ExtendScript doesn't support anything like that. 
A C++ Effect plugin could perform that alpha matte, within its own pixel procession, but not generate a mask with which to do so.

Participant
May 20, 2024

Thank you for responding Bruce.

 

I have some experience with C++, but not specifically the Adobe PPro SDK. I still want to pursue the project, are there any resources available aside from the GitHub sample, related to the SDK (I doubt there's any direct documentation, but every bit helps)?

 

Thanks again to anyone who can point me in the right direction.

Bruce Bullis
Legend
May 20, 2024