Copy link to clipboard
Copied
hello you lovely people of this forum!
I desperately need to automate a big part of the editing process in Premiere. For the next project we will be recording tons of footage, where the main action will be repeating with variations many many times. We then need to split the long recordings into separate chunks. I will be able bring in time markers, for where to make the cuts.
But I've hit a wall when trying to manipulate clips on the timeline with ExtendScript. I can read a bunch of info about the clip, e.g.:
start
end
inPoint
outPoint
(all in both .seconds and .ticks)
But I'm unable to change any of those values. And the only functions I've found deal with selecting a clip i.e. isSelected() and setSelected()
Are there any ways to trim/cut/move, whatever, clips on the timeline using ExtedSctipt scripts, or am I badly out of luck?
And to finish off what I'm trying to do I'll need to do something like "Make Subsequence" with all of the cuts, again looking to automate this.
Many thanks!
Instead of manipulating clips already on the timeline, you may find more success adding each segment to the sequence separately. Sounds like you've already found the PProPanel sample? The clues are usually to be found in there.
Either way, the better forum for ExtendScript questions would probably be the Premiere Pro SDK forum, watched over by the super helpful Bruce Bullis.
Copy link to clipboard
Copied
Instead of manipulating clips already on the timeline, you may find more success adding each segment to the sequence separately. Sounds like you've already found the PProPanel sample? The clues are usually to be found in there.
Either way, the better forum for ExtendScript questions would probably be the Premiere Pro SDK forum, watched over by the super helpful Bruce Bullis.
Copy link to clipboard
Copied
Yep, been trying to get every little bit of useful info out of PPoPanel sample that I could.
Ok, great, I did not realise there was an SDK subforum here.
I'll mark this as answered and then and move my question over there.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now