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

Setting player position in a clip opened in Source Monitor via extension scripting

Community Beginner ,
Dec 17, 2023 Dec 17, 2023

I am creating a Premiere Pro extension where I would like to set the player position (and marks, if possible) in  a clip opened in Source Monitor. However the API seems to only provide such functionality on a Sequence, whereas for Source Monitor we only have the calls:

 

openFilePath(filePath: string): boolean
play(speed?: number): void
getPosition(): Time

 

In theory we could play the clip at a very high playback speed and check if the current position is where we want it, and then set the playback speed to 0. But this method is imprecise and clearly a worse alternative to the Sequence method:

 

setPlayerPosition(pos: string): void

 

Is there any way we could set the player position directly to a specified time in a clip opened in Source Monitor, in the same way you can in a Sequence?

 

Thankful for any guidance!

/L

TOPICS
How to , SDK
223
Translate
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

Adobe Employee , Dec 17, 2023 Dec 17, 2023

Is there any way we could set the player position directly to a specified time in a clip opened in Source Monitor, in the same way you can in a Sequence?

 

Not using the official API.

 

Still, you may find these comments in PProPanel, elucidating. 🙂

unsupported.png

 

Translate
Adobe Employee ,
Dec 17, 2023 Dec 17, 2023

Is there any way we could set the player position directly to a specified time in a clip opened in Source Monitor, in the same way you can in a Sequence?

 

Not using the official API.

 

Still, you may find these comments in PProPanel, elucidating. 🙂

unsupported.png

 

Translate
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
Community Beginner ,
Dec 17, 2023 Dec 17, 2023
LATEST

Wow, an answer within 6 hours on a sunday. You really are the MVP.

Thank you!

Translate
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