Skip to main content
Known Participant
January 16, 2023
Question

Problem with PF_GetCurrentState() in Premiere Pro

  • January 16, 2023
  • 1 reply
  • 841 views

I cannot make this work like in AE if I want to get the state of the current layer (index 0). I invoke it like 

A_Time curr_time = { host_time, ae_data.in_data->time_scale };
		A_Time one_frame_dur = { ae_data.in_data->time_step, ae_data.in_data->time_scale };
		suites.ParamUtilsSuite3()->PF_GetCurrentState(ae_data.in_data->effect_ref, 0, &curr_time, &one_frame_dur, &ae_state);

Returns different values on every frame. In PP however I always get the same state. Is it supposed to work in PP?

This topic has been closed for replies.

1 reply

Known Participant
June 5, 2024

@shachar carmiDo you have any idea?

Community Expert
June 5, 2024

sorry, permier is not my strong suite. i can say that the state should be different for every frame if the input layer (or any other layer param) is a video that changes from frame to frame, so even if the param values remain constant the state should change from frame to frame. so i don't know why it would be different in premier.

Known Participant
June 10, 2024

Thank you for the reply! Where can I raise this bug then?