So I am trying to show in Psychopy a loop of different videoclips (format .mp4 without sound). So I created the routine, put a blank after each videoclip, and created the loop with the folder and the excel with the names of the videoclips. Everything is correct and I can check that the videos are being taken by psychopy because I can see the blank (fixation cross) after the duration of each video, and it iterates so I guess it is taking several videos but during the video stimuli the screen remains grey and doesn’t show anything. I have tried changing the parameters of the movie stimuli but nothing.
A little more information might help narrow down the problem.
what is your operating system (Windows, Mac, Linux)?
are you planning to run this experiment locally? or, is this an issue when you try to run it online?
which parameters have you tried changing? (a description or screenshot of the current parameters that are not working would be helpful)
Are any errors popping up or messages appearing in the console? If so, what do they say?
Are you comfortable sharing any of the following:
Your complete psyexp experiment
A ‘minimal’ psyexp experiment (this is the smallest experiment possible that reproduces the same error you are having, may or may not use the same videos as your full experiment
A screenshot of the “Flow” section of your experiment (see example pic)
Description or screenshot of the current parameters within the movie component
Without knowing more, I wonder if it is an issue with the Size, Position, or Opacity (given the movie routine seems to be running, but you can’t see the movie) or “Backend” video player (I’ve had various issues because of the Backend choice in the past). But the extra details might help narrow it down.
what is your operating system (Windows, Mac, Linux)? I am using Windows
are you planning to run this experiment locally? or, is this an issue when you try to run it online? Locally
which parameters have you tried changing? (a description or screenshot of the current parameters that are not working would be helpful): I tried saving the excel in different format (instead of xlsx into csv); also tried to change from .mp4 to .mov but nothing. I changed and played with opacity, Size, Position, etc, but nothing. The main problem is something with the loop, because if I ask Psychopy to reproduce only ONE video it appears ok, but without looping into the excel.
Are any errors popping up or messages appearing in the console? If so, what do they say? No errors, in fact, i appears: ############### Experiment completed [pid:16188] ###############, so the experiment runs ok because I can see the fixation cross after each video but not the video at all during the 16s they are supposed to appear.
Your complete psyexp experiment. Sure, I uploaded it.
A ‘minimal’ psyexp experiment (this is the smallest experiment possible that reproduces the same error you are having, may or may not use the same videos as your full experiment. I also shared the excel from which I am working.
A screenshot of the “Flow” section of your experiment (see example pic). Here you have screenshots of the experiment flow, the experiment movestim and the experiment loop. Sorry it is in spanish but might be that you see the error before me.
Sorry for the delay in taking a look at this. Thank you for sharing your sample experiment and screenshots, that does help!
I have a couple suggestions based on what I see in your experiment. I’ve included both the Spanish and English terms and I apologize for any Spanish misspellings.
First, Archivo de pelicula/Movie File: When I tried your experiment, I got the following error: NameError: name videos is not defined. The way you call $videos in Archivo de pelicula (“Movie File”) looks fine to me, so I am not sure why this was an error for me. Changing this to $thisTrial[“videos”] solved this for me, so you could try that too. Once I fixed that error, I experienced what you were having, where the movie seemed to be playing, but was invisible. This brings me to the second set of options to try.
Second, Diseno/Layout and Apariencia/Appearance: In Diseno, Tamano [ancho, alto] (“Size [width,height]”) is set to (1,1) and Unidades espaciales (“Spatial Units”) is set to pix. This would make the movie 1 pixel tall and 1 pixel wide. If all your movies are the same size (e.g., 1920 x 1080) I would set Tamano [ancho, alto] to match the movie size (if you want it to be full screen). You may also want Posicion (“Position”) to be set to (0,0) so that the movie is perfectly centred, but that shouldn’t be the problem you are having right now. In Apariencia, the Opacidad (“Opacity”) is set to 0, which means the movie is fully transparent. That should be set to 1.
Once I changed these settings (Tamano to [1920,1080] and Opacidad to 1) I was able to see the test movie I was using (this was using a set of test mp4 videos and the csv format file).
Again sorry for the delay, but hope this helps if you didn’t solve it yet.