Copy link to clipboard
Copied
Is this possible?
From this link I was able to cue the source monitor via QE
But considering the endless admonitions to avoid QE when possible, I've been hunting the ReadTheDocs API for a more approved version. So far, no luck.
There's a Program side version: sequence.setPlayerPosition()
There's a source.getPosition(), which I can't seem to get working.
And there's a sourceMonitor object which doesn't seem to have anything other than QE.
I ended up on a wild goose chase testing
sourceMonitor.getPosition()
sourceMonitor.getPlayerPosition()
sourceMonitor.setPosition()
sourceMonitor.setPlayerPosition()
As well as all the above methods but using a projectItem object (i.e. projectItem.getPosition() etc.)
I'm assuming source & app.sourceMonitor are the same thing, correct?
For now sticking with the much-maliged QE 😞
> Is this possible?
Not today.
Copy link to clipboard
Copied
To avoid wild chase you can get all available methods using Property Exlporer extension.
There are no more functions in sourceMonitor object besides the ones you found in ReadTheDocs.
I guess the only way to make it work without QE is to have a mix of play & sleep:
var video = app.project.rootItem.children[0];
var speed = 1; // could be negative value as well
app.sourceMonitor.openProjectItem(video);
app.sourceMonitor.play(speed); // start play
$.sleep(1000); // to control how long to play
app.sourceMonitor.play(); // to stop
// then use app.sourceMonitor.getPosition() to find out if you scrubbed to a right place
Copy link to clipboard
Copied
Thanks for the Property Editor. Cool extension.
Love the scrub back-n-forth approach -- You could re-create the experience of tape to tape linear editing.
The QE approach is working great as a solution.
Copy link to clipboard
Copied
That approach would be useful for creating some "vintage" extensions 🙂
Copy link to clipboard
Copied
> Is this possible?
Not today.