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

getCurrentPos for Clips ?

Community Beginner ,
Nov 15, 2017 Nov 15, 2017

Copy link to clipboard

Copied

I need the ability to get the current playhead position for a source clip.

The reason why I need this is because I have external logs which I would like to push into clip markers.
But the external logs have a timecode-offset (logs-TC has an offset to clip-TC).

Envisioned workflow:
- Premiere PRO editor open extension pane and selects one log
- Then shuttles to the position in the clip which belongs to the log
- Then goes back to the extension pane, clicks a sync button
- Result: extension panel recalculates the TCs and imports the logs as markers


All I found is this for sequences:

getCurrentPos

Returns the position of the current time indicator (the position bar set by the user). If (-1) is returned, the position bar in the timeline is not present.

csSDK_int32 getCurrentPos(PrTimelineID timelineData);

timelineData - the timelineData of the current sequence

Thank you,
Petra

TOPICS
SDK

Views

555

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 1 Correct answer

Engaged , Dec 08, 2017 Dec 08, 2017

Hi,

sound like you want to do the inverse of what I did here, How to get source clip times? , more or less...

Votes

Translate

Translate
Community Beginner ,
Dec 04, 2017 Dec 04, 2017

Copy link to clipboard

Copied

Bump

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
Engaged ,
Dec 08, 2017 Dec 08, 2017

Copy link to clipboard

Copied

Hi,

sound like you want to do the inverse of what I did here, How to get source clip times? , more or less...

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
Engaged ,
Dec 10, 2017 Dec 10, 2017

Copy link to clipboard

Copied

Another question would be, if the log TC difference to the clip is NOT deterministic, but arbitrary. It sounds quite cumbersome to locate the first matching frame manually, and only then have the remaining markers be applied correctly. The tool generating the logs should either always start its log at zero, or as a workaround, the operators would have to add the first marker at the start of the clip. Just thinking in terms of taking a different approach to the problem.

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 ,
Dec 10, 2017 Dec 10, 2017

Copy link to clipboard

Copied

LATEST

Yes, why not figure out the start time offset from the beginning of the sequence, and just apply that?

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