Sorry there was a fundamental flaw in my previous post please ignore and use this version instead!
Use QT Player to record the video and import into QLab using these scripts.

--STANDBY
try
set oldFile to POSIX path of ((path to desktop folder as text) & "myvideo.mov")
do shell script "rm " & quoted form of oldFile
end try
tell application "QuickTime Player"
activate
new movie recording
end tell
delay 0.5
tell application "QLab4.6" to activate
--RECORD
tell application "QuickTime Player" to start front document
--STOP
tell application "QuickTime Player"
stop the front document
set thefile to (path to desktop as string) & "myvideo.mov"
export document 1 in (file thefile) using settings preset "1080p"
close window "Export Progress"
close document 1 saving no
delay 5
tell application id "com.figure53.QLab.4" to tell front workspace
set the file target of cue "LOOP" to thefile
delay 1
set the start time of cue "LOOP" to 0
set the end time of cue "LOOP" to 99999
set the infinite loop of cue "LOOP" to true
end tell
end tell
LOOP is a video cue, set up with your surface patch, playback speed, audio levels etc. It's loop and start and end times are set in the STOP script above.
Workspace and demo video attached
Mic