Copy link to clipboard
Copied
I've never written script in premier pro before so am a total newbie with this. I've written what I hope would explain what I'm talking about. Any help would be greatly appreciated, I am very desperate
- Save clip name
- Open designated folder
- Find .cube file with same name as clip
- Use .cube file as input LUT in Lumetri Color Panel
- Move to the next clip in timeline until every clip has a LUT applied
Copy link to clipboard
Copied
PPro has no scripting APIs that would enable this.
Copy link to clipboard
Copied
You have a separate LUT for every clip?
Neil
Copy link to clipboard
Copied
You can set the Input LUT by getting the Lumetri video component property, set the 4th prop to the path string, and the 6th prop to 1.
var pathToLut = 'path/to/lut.cube';
var lumetri = projectItem.videoComponents()[0];
var lutPath = lumetri.properties[4];
var input = lumetri.properties[6];
lutPath.setValue(pathToLut);
input.setValue(1);
If you're new to writing Adobe Extensions, this post should help you get started:
https://hyperbrew.co/blog/building-adobe-extensions/