What can one do with clip in and out points? I figured out how to set them, hoping that I’d be able to use them to trim the clip, but I can’t seem to find any actions that might do that, or any actions that appear to use those points. What are they intended for?
And is there any way to trim a clip in UXP? The move action seems to work swimmingly, but I can’t find any trimming actions on a clip, track, or a sequence. I’m attempting to build a programmatic way of doing a ripple trip to/from a given time point.
Hi stas,
Welcome, and thanks for trying UXP beta. The API methods you need aren’t exposed yet. We know it’s important to the developer community, and it’s a top priority for us. Meanwhile, there is a workaround; see Cathy Dong’s reply in this message:
Clip in and out point determines the length of trackItem when it is used to be inserted into the sequence.
For example, your original clip imported inside of Premiere Pro is 1 minute long. You set the out point of clip to be 30s via clipProjectItem.createSetOutPointAction because that’s part you find funny and want to include as part of sequence. When you use sequenceEditor API to insert the clip projectItem into sequence with out point set up, you will have a trackItem with duration of 30s instead of 1 minute created in timeline.
However, once the trackItem inserted into the sequence, it will not be affected by the clip in/out point anymore. We are going to introduce another API for trimming the trackItem already in sequence soon.
FYI, unfortunately trackItem.createSetInPointAction and createSetOutAction is broken at this point. Will keep you guys updated in the forum.