Skip to main content
Participant
February 22, 2024
Answered

how could I make Premiere Pro send frame in order of increasing time to an effect plug-in

  • February 22, 2024
  • 1 reply
  • 461 views

I want to create a plugin that achieves a motion blur effect, which requires consecutive frames over time to implement the blur. However, Premiere Pro passes frame data via multiple threads, and it cannot guarantee that the frames received by the plugin are in a time-incremental sequence.

This topic has been closed for replies.
Correct answer Bruce Bullis

> How can I ensure that the PF_Cmd_RENDER method delivers frame data in a time-sequential manner?

 

You cannot. 

 

If you need input frames from times other than your effect is being asked to render, access them via parameter checkout. 

If you need input frames with other effects/transformations already applied, the user will need to nest sequences. 



1 reply

Bruce Bullis
Community Manager
Community Manager
February 22, 2024

Assuming you're writing an After Effects API Effect plug-in, you would "check out" the input parameter (source layer) at different times. See the "Checkout" sample, in the AE plugin SDK.

Participant
February 26, 2024

Thanks for your answer. But My plugin has an off-screen renderer to which I send input frames through the PF_Cmd_RENDER method, and I need to continuously push frames in time-increasing order to achieve certain transition effects. How can I ensure that the PF_Cmd_RENDER method delivers frame data in a time-sequential manner?

Bruce Bullis
Community Manager
Bruce BullisCommunity ManagerCorrect answer
Community Manager
February 26, 2024

> How can I ensure that the PF_Cmd_RENDER method delivers frame data in a time-sequential manner?

 

You cannot. 

 

If you need input frames from times other than your effect is being asked to render, access them via parameter checkout. 

If you need input frames with other effects/transformations already applied, the user will need to nest sequences.