This article applies to:
E-Prime Extensions for Tobii Pro 3.2
A Tobii Pro Lab-enabled experiment produces an error during the UploadMedia portion of TPLCompleteLabEvents.
The error is specific to a subset of movie files:
ERROR: The error occurred in the method named "TobiiProLab_UploadMedia(c" at line number 37 of a Certified Package File
The following runtime error occurred:
The operation 'UploadMedia' has resulted in a runtime error.
Tobii Pro Lab has reported the following additional information about the error:
Return = '-4'
Status = '-1'
Reason = ''
The TobiiProLab PackageFile's SetDisplayEvent routine allows specification of movie files to upload to a Tobii Pro Lab project. Therefore a participant's gaze can be seen as it overlays the experiment run.
The TPLCompleteLabEvents PackageCall at the end of a trial-level procedure calls the "UploadMedia" routine. When a movie file has incompatible encoding, the routine throws the following error:
One indication of this issue is error number 31529.
Another indication of this error is reference to line 37 of the UploadMedia PackageFile routine.
This issue is more common with older movie encodings (e.g., .mpg and .wmv files).
Download and run a free encoder/file converter utility. For example: www.h264encoder.com.
Then, convert older file formats to an .mp4 file format. The .mp4 format has newer encoding that is compatible with Tobii Pro Lab application.