PsychoPy version: v3.0.2
Standard Standalone?: yes
Hello everybody :).
What are you trying to achieve? In a procedure I need avi video clips to appear in random order. I created a loop and the videos appear just fine but the problem is, I need to cut some videos’ duration and the desired duration is not the same for all the videos.
What did you try to make it work? To achive this, I created another column in the condition excel “dur” and put the number of seconds next to each file’s name (e.g. “3.0” meaning 3 seconds). Then I put “$dur” and set the unit as “duration(s)” in the video’s duration field.
What specifically went wrong when you tried that? The videos are presented too short, off by circa 0.2-0.4s compared to what I requested in the conditions file, which is bad. When I tried doing the same but without the looping - put just one video with set duration (“3.0”) in the duration field, it worked out fine (the video’s presented duration was off by max 0.004). But as I need 90 videos in random order, I can’t do this one by one.
Does anybody know why does it happen and how can I fix this?
There’s no error message. All setting are set as default. I’m using the builder view for this. Ah, and as for how do I check for how long were the videos presented, I compare the “movie: autoDraw = True” and “movie: autoDraw = False” time values in the output log. It should be accurate, right?
I hope I managed to explain the situation well, if not - sorry, I’ll answer any questions the best I can. Thanks a lot for your attention :).