Q: When trying to play movies with Quicktime, Matlab crashes or gives Bus errors! What can i do?
A: Some people sometimes experience instability when trying to play back some types of Quicktime movies. This is mostly due to some bad interactions between Apple's Quicktime engine and Matlabs built-in Java virtual machine. It only happens with some movie formats (Codecs), not with all of them. The following has helped in the past:
- Run PTB under OS/X 10.4.x "Tiger", not on 10.3.x. Tiger seems to be more stable.
- Use the most recent version of Quicktime.
- If the problem persists, run Matlab from a terminal window in -nojvm mode, i.e., without the graphical user interface and Java. Start it with matlab -nojvm. Running without Java resolves about 95% of all crashes.
- Some movie formats don't like seeking during playback, playing at a different rate than the normal speed or playing them backwards. Other movie formats are perfectly fine with that.