[open] Error when running video in test run
Hi,
I'm having some trouble getting my experiment to play videos when they are extracted from a block loop.
At the moment I have 3 rows with 8 columns (when the experiment is completed there will be 30 rows with files in each
column).
My columns are listed as 'Video1', 'Video1_nr', 'Video2', 'Video2_nr', 'Video3', 'Video3_nr' and 'Question' and 'Question_nr'. My video files are listed as follows (1_1.avi, 1_2a.avi, 1_3b.avi etc.).
Within the media_player_vlc icon where it lets you select your file to play I have typed "[Video1]_[Video1_nr].avi" and the equivalent for Videos 2 and 3.
When I do a test run, I get the following error message:
'video file "1_1"avi was not found by video player, 'video1' or no video was specified.'
The relevant videos are in the file pool in avi format.
Does anyone have any suggestions on how to fix this?
Any help would be greatly appreciated,
K
Comments
Hi K,
Based on your error message ...
... it looks like a typo in specifying the video file. Have you typed something like:
"[Video1]_[Video1_nr]"aviI.e. with quotes in the file name and no dot?
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Sebastiaan,
I've just tried your suggestion and unfortunately I get a similar error message (although this time for file "3_1"avi). I think its clearly trying to randomize the order of the videos to be presented but just can't seem to locate the files within the file pool.
I've typed the above code in the 'browse for file' window. Should I be adding some script to any other part of the interface?
Thanks,
K
Hi K,
Right, I think we're misunderstanding each other here. What I wrote (
"[Video1]_[Video1_nr]"avi) was not intended as a suggestion, but it's what I figured you might have done, and should not.What you should do is something like this:
I.e. once the variables are filled in, you should get a valid file name from the file pool. See what I mean?
If this doesn't work, please provide some more information, either by posting a screenshot or uploading the full script to something like http://pastebin.com.
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!