• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

plugin applied twice to the same sequence

Contributor ,
Apr 13, 2021 Apr 13, 2021

Copy link to clipboard

Copied

Dear friends,

I have the following problem.

When I apply my plugin (in Premiere Pro) to the frame sequence, it works correctly. Namely, it blends the initial canvas (treated as background) with my animated shape.

However, when I apply my plugin the second time to the same sequence, it erases the shape from the first plugin-application and takes the same initial canvas as an input (instead of taking  the new canvas with an animated shape from the previous plugin application as an input). Do you know if its possible to cure this in premiere Pro?

Here are snippets of my code.

Render funct

Render(
PF_InData* in_data,
PF_OutData* out_data,
PF_ParamDef* params[],
PF_LayerDef* output, json& dictionary, std::string word)
{

PF_Err err = PF_Err_NONE;
AEGP_SuiteHandler suites(in_data->pica_basicP);


PF_EffectWorld *inputP = &(params[MYPLUGIN_INPUT]->u.ld); // here is where I load the bakground canvas

cairoCopy8_Pr(inputP, &cairoRefcon, outputP);// here is my shape drawing function. The new canvas is saved into outputP.

params[MYPLUGIN_INPUT]->u.ld.data = &(*outputP->data); //Here is the place where I try to change the initial canvas.

}

ion:

 

 

TOPICS
SDK

Views

77

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation