• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Get the in and out points in ppro for remapped clips

Participant ,
May 03, 2024 May 03, 2024

Copy link to clipboard

Copied

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? 


TOPICS
SDK

Views

215

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 2 Correct answers

Adobe Employee , May 03, 2024 May 03, 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.

Votes

Translate

Translate
Adobe Employee , May 03, 2024 May 03, 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.

Votes

Translate

Translate
Adobe Employee ,
May 03, 2024 May 03, 2024

Copy link to clipboard

Copied

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.

Votes

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
Participant ,
May 03, 2024 May 03, 2024

Copy link to clipboard

Copied

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!

Votes

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 Employee ,
May 03, 2024 May 03, 2024

Copy link to clipboard

Copied

LATEST

>(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.

Votes

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