Copy link to clipboard
Copied
I am writing an AE and PR matting plug-in for macos system. It supports CPU and GPU working modes. The plug-in works as expected in AE.
But in pr, the plugin doesn't handle the alpha channel correctly. In pr, the plugin turns the alpha channel into black, and doesn't show the image below the track.
My plugin shows this
I want to display like this
I feel that it has something to do with the alpha channel type, but I can't find any instructions on how to set the alpha channel type of the rendered frame in the PR. Can anyone tell me what I did wrong. Thank you
Copy link to clipboard
Copied
There are no indications of your settings in Premiere Pro. I suspect there is a user error. An alpha in After Effects is the same as an Alpha in Premiere Pro. Transparency. There is no other type. White alpha pixels are Opaque, and the colors show. Black ones are transparent - there are no pixels showing where the Alpha channel values are zero. You have transparency.
Copy link to clipboard
Copied
Thank you for your reply! This is the data I adjusted the alpha channel. My CPU process is to get the data of each frame and convert each pixel to a PF_PixelFloat object. Then modify the alpha value. But the change is only the image that has been displayed becomes transparent below still black
Copy link to clipboard
Copied
@Mylenium Can you help me solve this problem