Copy link to clipboard
Copied
I'm trying to figure out how CEP extensions like Premiere Composer (by Mister Horse) manage to add adjustment layers in the active sequence (to create transition templates, for example):
Indeed, it seems that it is not possible to add a new adjustment layer with Extendscript.
A workaround would then be to:
- Manually create a sequence containing only an adjustment layer (with the desired effects and properties).
- Clone this sequence (with Extendscript)
- Import this sequence in the active sequence (with Extendscript)
This would be nearly identical to adding an adjustment layer directly — except that adjustments layers contained inside a sub-sequence (i.e. imported as a nest) do not work: they do not affect the tracks located beneath them, like an adjustment layer is supposed to.
The solution would then be to use the "insert sequence as individual clips" mode:
By doing so, the sequence containing only an adjustment layer would be inserted as... a single adjustment layer!
And it turns out this does indeed work when performed manually (by dragging and dropping the sequence from the project browser to the active sequence).
However, even when this "insert as individual clips" mode is activated in the UI, importing a sequence with Extendscript still results in a nested sequence being added to the track (instead of adding only the content of this sequence — in this case, an adjustment layer).
How could I proceed?
Thanks
1 Correct answer
> How could I proceed?
Not sure; your experimentation seems sound, and we don't know how Mr. Horse is accomplishing what they do.
Copy link to clipboard
Copied
I don't know the answer on CEP, but I have used transition packs and the like, and one needs to turn that button off and also remove the source patching for track 1, so the sample video in the transition sequence does not get imported.
Copy link to clipboard
Copied
> How could I proceed?
Not sure; your experimentation seems sound, and we don't know how Mr. Horse is accomplishing what they do.
Copy link to clipboard
Copied
After cloning the sequence containing the adjustment layer, maybe there is a way to move this layer to another track (in another sequence).
Is it possible with extendscript?
Copy link to clipboard
Copied
No.

