Copy link to clipboard
Copied
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.
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.
> 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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
> 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.
Copy link to clipboard
Copied
OK, I got it, thankyou so much.