Quantcast
Channel: Adobe Community : Popular Discussions - Premiere Pro SDK
Viewing all articles
Browse latest Browse all 53010

Control playback in CEP

$
0
0

Hello,

 

I am wondering what options there are within the ExtendScript API there are for controlling playback and the playhead in the source monitor and active sequence.

 

As of now looking through the api I have found that you can scrub in the source and sequence using the QE DOM:

 

e.g.

qe.source.player.startScrubbing();

qe.source.player.scrubTo("33.20");

qe.source.player.endScrubbing();

 

and similarly with qe.project.getActiveSequence()

 

I have also been able to set the player position with app.project.activeSequence.setPlayerPosition() with the appropriate ticks calculation.

 

Likewise the only function I have found to play the in the source monitor or sequence is

app.sourceMonitor.play()

 

But I haven't been able to find anything to stop playback in the source or start/stop in the active sequence.

 

I can't seem to find any documentation on the source monitor which would explain why this method exists but the "setPlayerPosition()" does not and why there are no other playback methods that I can find. In the sample app the only other methods shown are ones that close or open clips.

 

It seems like bbb_999 would be the person to answer this? Are there more robust methods in place to set the playhead in the source monitor without using the QE DOM? Can you control playback besides the play() method on the source monitor property?

 

Thanks!


Viewing all articles
Browse latest Browse all 53010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>