Skip to main content
Inspiring
August 25, 2023
Answered

Pause Playback through code?

  • August 25, 2023
  • 1 reply
  • 1234 views

I'm working on a transmitter plugin for Adobe Premiere Pro 2023, and long story short I need to pause playback when a specific function is called. Is there a way in c++, or alternatively through a js panel, to pause playback through suites or something?

Thank you 

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

still, do you have a way to pause playback until this update is out of beta?


No.

1 reply

Bruce Bullis
Community Manager
Community Manager
August 25, 2023

No such control is available to a Transmitter, or any other supported C++ plugin type. You're correct, ExtendScript (used from CEP panels) can control playback...

Under what circumstances would a Transmitter need to control playback? 


Inspiring
August 25, 2023

The issue lies with the fact that as far as I know, the only place to start plugin audio is in the StartPlaybackClock function, as it receives clock parameters which are necessary.  When playing, this function is only called when the playback is started. 
My problem is that I have an external function starting or stopping the transmitter manually, but in the situation where the plugin starts in the middle of playback, initpluginaudio() won't be called until next time I stop and start playback, leading to a silent transmission. 

My solution therefore involves pausing playback at the same time so that the StartPlaybackClock() function will necessarely be called before transmission of video

Except if you have another solution, I would like to know how to do it through extendscript as i've been unable to find it in the documentation. Thank you!

Bruce Bullis
Community Manager
Community Manager
August 26, 2023

>I have an external function starting or stopping the transmitter manually...

You say starting or stopping the transmitter; does that differ, from starting/stopping playback?

> in the situation where the plugin starts in the middle of playback

I don't understand how a Transmitter could start in the middle of playback; Transmitters are only sent frames/samples by PPro, during playback. 

Why is that external control desirable/necessary?