VIDEO SCRUBBER

[Updated for QLab 4.1 13 JUL 17 ]

This workspace uses QuickTime Player as a helper application, to enable the location of cue points in a video cue.

Here  it is in action:

How It Works:

It is best used with MIDI triggers, rather than hotkeys, as this will not require continuously switching between QT player and QLab, to make QLab the focus for keyboard input.

The first script, triggered by MIDI note 60, or “K”, opens the  video cue selected in Qlab,  in QT Player. (It will also open audio cues).

set userApplication to application “QuickTime Player”
tell application id “com.figure53.qlab.3” to tell front workspace
set selectedCue to last item of (selected as list)
if q type of selectedCue is in {“Video”, “Audio”} then
set fileTarget to file target of selectedCue
ignoring application responses
tell userApplication
open fileTarget
activate
end tell
end ignoring
end if
end tell

You can then find the in point you want by scrubbing or using any other control in QuickTime Player. The script triggered by “I” or MIDI note 62 transfers the current time of QT Player to the start time of the video cue in QLab.

tell application “QuickTime Player”
set thecurrenttime to current time of the front document
end tell
tell application id “com.figure53.qlab.3” to tell front workspace
set thisCue to last item of (selected as list)
set inPoint to thecurrenttime
set start time of thisCue to inPoint
end tell

You then find the out point and use MIDI note 64 or “O” to trigger the script, which transfers the current time of QT Player to the End Time of the QLab cue.

tell application “QuickTime Player”
set thecurrenttime to current time of the front document
end tell
tell application id “com.figure53.qlab.3” to tell front workspace
set thisCue to last item of (selected as list)
set outPoint to thecurrenttime
set end time of thisCue to outPoint
end tell

Finally MIDI  note 65 or Key  “J” will close the file in QT Player

set userApplication to application “QuickTime Player”
tell application id “com.figure53.qlab.3” to tell front workspace
activate
ignoring application responses
tell userApplication
close front document
end tell
end ignoring
end tell

You can download the workspace here

The workspace contains no media content.

Title image By gunnar_maas (Own work) [GFDL (http://www.gnu.org/copyleft/fdl.html) or CC BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0)%5D, via Wikimedia Commons

MenuGraphic