LUT importer Script

New Here ,
Feb 17, 2022 Feb 17, 2022

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

TOPICS
SDK

Views

95

Likes

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

correct answers 1 Correct answer

Adobe Community Professional , Feb 22, 2022 Feb 22, 2022
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/

Likes

Translate

Translate
Adobe Employee ,
Feb 18, 2022 Feb 18, 2022

Copy link to clipboard

Copied

PPro has no scripting APIs that would enable this. 


Likes

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
Adobe Community Professional ,
Feb 18, 2022 Feb 18, 2022

Copy link to clipboard

Copied

You have a separate LUT for every clip?

 

Neil

Likes

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
Adobe Community Professional ,
Feb 22, 2022 Feb 22, 2022

Copy link to clipboard

Copied

LATEST

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/

Likes

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