Skip to main content
Hey Evgenii
Inspiring
May 3, 2024
Answered

Get the in and out points in ppro for remapped clips

  • May 3, 2024
  • 1 reply
  • 629 views

I have a clip that has some time remapping on it, once I do double click on the clip it opens the clip in the source panel and I can see the in and out points, if I playback the video in the source it will also show the time remapping

now if I get from the trackItem.inPoint and outPoint and import the code into another sequence:

 

projectItem.clearInPoint();
projectItem.clearOutPoint();
projectItem.setInPoint(clipData.inPoint, 4);
projectItem.setOutPoint(clipData.outPoint, 4);
targetVideoTrack.overwriteClip(projectItem, insertTime);

 


it will import the clip without time remapping ( i dont need it anyway), but it will trim the duration of the clip to match exactly in and out pounts, but how to get the whole duration of the part of footage that was originally used? 


This topic has been closed for replies.
Correct answer Bruce Bullis

>(I'm not sure whether that's available via that trackItem's component params)

Sounds like you've done the right testing, and that value is not available.

1 reply

Bruce Bullis
Legend
May 3, 2024

You would need to get the value used in the time remapping (I'm not sure whether that's available via that trackItem's component params), and 'do time math' to determine when the actual in/out points in use were in the original sequence, in which time remapping was applied.

Hey Evgenii
Inspiring
May 3, 2024

can you please explain a bit deeper on how to get the value of the time remapping? The trackItem.components have only motion and opacity properties

Thank you in advance!

Bruce Bullis
Bruce BullisCorrect answer
Legend
May 3, 2024

>(I'm not sure whether that's available via that trackItem's component params)

Sounds like you've done the right testing, and that value is not available.