Skip to main content
Participant
October 8, 2024
Question

Black Frames in Premiere Pro Plugin During Export and Non-Interactive Playback

  • October 8, 2024
  • 2 replies
  • 224 views

Hello Adobe Community,

 

I’m developing a video effect plugin for Premiere Pro using the C++ SDK. The plugin works as expected during interactive playback (e.g., when I drag the playback scroll and hold it), and the effect is correctly displayed in the preview. However, when I release the playback scroll or export the media, the output frame turns completely black.

 

Key Details:

 

•The plugin correctly processes frames using the Render function during interactive use.

•The issue occurs specifically when the playback scroll is released or during export.

•I’ve ensured that the input frames are accessed and processed using PF_InData and PF_OutData structures.

•My plugin works well within After Effects, not a single issue.

 

What I’ve Tried:

 

•I verified that PF_Cmd_RENDER is implemented correctly and that pixel formats are managed properly.

•I tested with various frame setups and ensured input/output buffers were correctly populated.

 

Questions:

 

1. Is there a different rendering command or function Premiere Pro expects for non-interactive playback and export phases?

2. Should I implement any additional functions or specific handling for frame management during these phases (e.g., FrameSetup or similar)?

3. Are there specific best practices to ensure that frame buffers remain accessible and populated correctly during export?

 

Any insights or suggestions on how to resolve this issue would be greatly appreciated. Thank you in advance!

 

Best regards,

This topic has been closed for replies.

2 replies

Bruce Bullis
Legend
October 30, 2024

In what version(s) of PPro have you tested? 
What's different about the information in PF_InData, which your plugin is sent with non-scrubbing render request?

Participant
October 30, 2024

Hello,

 

You describe with perfection the problem I have today on a video effect I develop. And I do hope you'll fix your problem soon !

I have no solution right now but if I found one I'll jump on this thread right after to tell you. To maybe add more details to your problem, in my case I have this issue on a Mac (M2 Pro) system only. My effect works perfectly on Windows Premiere and AfterFX  and Mac AfterFX only.

 

My video effect is using Metal on MacOS and Vulkan on Windows to compute the image. Are you in the same situation I'm describing ?

Participant
October 30, 2024

Oh and I forgot to precise ! Does your video effect work if you add another video effect like "Transformation" above yours ? In my case, my effect fully work when I add some specifics video effects above.