Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PPRO] Apply custom LUT as effect #501

Open
SultanDino opened this issue Oct 25, 2023 · 2 comments
Open

[PPRO] Apply custom LUT as effect #501

SultanDino opened this issue Oct 25, 2023 · 2 comments

Comments

@SultanDino
Copy link

We have developed a Premiere Pro extension with which we fetch a custom lut file and apply it as a effect in Lumetri Color (Creative or Basic).

Starting from Premiere pro 23.4, the functionality to apply a custom lut programmatically has stopped working and I can't figure out why. I already tried various settings and changes, but I am running out of ideas. Something have changed in Adobes API and the way it applies custom LUT files.

Here is a list of PPRO versions with which the extension worked fine:
22.5 | Working
23.0 | Working
23.1 | Working
23.2 | Working
23.3 | Working
23.4 | Not working
23.5 | Not working
23.6 | Not working
24.0 | Not working

I already wrote about it in the Adobe forum.
Maybe someone can help me and give me some information on how to get this to work?

@SultanDino
Copy link
Author

SultanDino commented Oct 25, 2023

Here is the code sample from ExtendScript with which I loop through the Effect's properties to apply a custom LUT as Basic

for (var i = 0; i < effect.properties.numItems; i++) {
  if (effect.properties[i].displayName == "Basic Correction") {
      effect.properties[i + 1].setValue(1, true); // Enable effect
      effect.properties[i + 2].setValue(LUTPath, true); // Set LUT Path
      effect.properties[i + 4].setValue(1, true); // Update LUT selection dropdown
  }
}

@SultanDino
Copy link
Author

Here is the code sample from ExtendScript with which I loop through the Effect's properties to apply a custom LUT as Basic

for (var i = 0; i < effect.properties.numItems; i++) { if (effect.properties[i].displayName == "Basic Correction") { lookProperty = effect.properties[i]; // i = 2 effect.properties[i + 1].setValue(1, true); // Enable effect, i = 3 effect.properties[i + 2].setValue(LUTPath, true); // Set LUT Path, i = 4 effect.properties[i + 4].setValue(1, true); // Update LUT selection dropdown, i = 6 } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant