Hello,
I’m having problems getting movies to play with Psychtoolbox on my Ubuntu stimulus laptop. The same movie-playing script works fine on a different laptop running a mac operating system.
My script is supposed to play multiple 3-second movies in a row, without any gap between them.
On my Ubuntu laptop, the first tiny fraction of the first movie begins to play, but then it freezes for a few seconds, and the script crashes. When the script crashes, the PTB window closes, and it gives the error message:
PTB-ERROR: In Screen(‘GetMovieImage’) for movie 0: Timed out while waiting for new frame after 5 seconds!
Troubleshooting efforts so far
Running SimpleMovieDemo works fine.
Setting current directory to folder with movie files in it and running PlayMoviesWithoutGapDemo1 works, but there is a lag that occurs when the first frame of each movie starts. Basically, for each new movie that the script loops through, the first frame seems to load and then there is a pause of a couple of seconds before the rest of the movie plays. I’m not sure if this is expected behavior for this demo script or not.
Setting current directory to folder with movie files in it and running PlayMoviesWithoutGapDemo2 does not work. It plays the first movie in the directory just fine and then cuts to a black window and never plays the next movie. The script does not exit by itself so after killing the script and closing the screen I see that in the command window there were multiple PTB error messages saying the same thing:
PTB-ERROR: In Screen(‘GetMovieImage’) for movie 0: Timed out while waiting for new frame after 5 seconds!
Gstreamer is installed from the Ubuntu software manager.
I’m not sure what I should try next. I would really appreciate help troubleshooting this issue!
Thanks,
Sean
Version Information:
Operating system:
Ubuntu 22.04.1 LTS, codename jammy
Matlab version:
R2022b
Psychtoolbox Version:
3.0.18 - Flavor: Debian package - psychtoolbox-3 (3.0.18.12.dfsg1-1~nd22.04+1)