Skip to main content
tomasz_cc
Inspiring
April 10, 2019
Question

Premiere Pro - Checkout current layer with applied effects?

  • April 10, 2019
  • 1 reply
  • 1723 views

Hey guys,

I'm working on a plugin that should work in AE and in Premiere Pro.

My question is about the latter one - is it possible to checkout a current layer where the plugin is applied and get access to the image already processed by the plugins that are before my plugin?

Example:

We have a clip with 2 effects:

1. Lumetri

2. My plugin

I want to be able to open a dialog window from my plugin and show the image with changes made in Lumetri. What I get is the RAW unprocessed image "before" the lumetri changes.

Any hints?

Thanks in advance,

Tom

This topic has been closed for replies.

1 reply

April 10, 2019

I can't tell exactly, but isn't the default behaviour for both AE and PPro that when checking out the *input* layer, you will get it post-fx already? Meaning with all the previous effects in the chain already applied? Only when checking out additional layers with a layer parameter, you will get only their raw pixel data without any effects possibly applied.

And somewhat related: AE offered in recent SDK releases/AE version the option to checkout layer pre-/post effects/masks

tomasz_cc
tomasz_ccAuthor
Inspiring
April 10, 2019

Not in PF_Cmd_USER_CHANGED_PARAM or PF_Cmd_DO_DIALOG.

I have "Edit" button in the plugin and I open a new window with the image preview and what I get in:

PF_CHECKOUT_PARAM(in_data,
  MY_INPUT,
  in_data->current_time,
  in_data->time_step
  in_data->time_scale
  &my_param);

PF_EffectWorld* src = &my_param.u.ld

src is a raw image with no applied plugins no matter what is in the effect chain before my plugin...

The behavior is the same for both PP and AE.

...and there must be a way because Colorista can do it

April 10, 2019

You should then probably look at the AEGP_RenderAndCheckoutLayerFrame() function - check the latest SDK for info or look up the headers for the RenderSuite.