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
Hi,
sound like you want to do the inverse of what I did here, How to get source clip times? , more or less...
Copy link to clipboard
Copied
Bump
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...
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.
Copy link to clipboard
Copied
Yes, why not figure out the start time offset from the beginning of the sequence, and just apply that?