support key: 0199aa85-0b7c-7d82-9ec1-6b585dd136b3
OS: Windows 11 (Acer PC)
Matlab: R2024b
PTB: latest stable (3.0.22.1)
GStreamer: latest stable (1.26.10), “complete” install
Hi,
We’ve just had to update our OS from Windows 10 to 11 (yes, we know, it’s Windows… sorry) and are now encountering a weird issue on one of our scripts. GStreamer appears to crash when trying to decode an .mkv file, a fixation wheel that plays at every trial. Sometimes the error appears on the first trial, and sometimes a few trials will run just fine and then the crash error will appear. The error also does not appear on a different script that plays the exact same mkv file, but only presents visual stimuli along with it. For this reason, I’m suspecting some weird interaction between GStreamer, Windows 11, and PsychAudio.
The error message goes like this:
PTB-ERROR: Statechange failed with GST_STATE_CHANGE_FAILURE! PTB-ERROR: GStreamer movie playback engine reports this error: Error from element matroskademux8: Internal data stream error. Additional debug info: ../gst/matroska/matroska-demux.c(6360): gst_matroska_demux_loop (): /GstPlayBin:ptbmovieplaybackpipeline/GstURIDecodeBin:uridecodebin9/GstDecodeBin:decodebin9/GstMatroskaDemux:matroskademux8: streaming stopped, reason not-negotiated (-4). Error in function OpenMovie: Usage error In OpenMovie: Opening the movie failed I. Reason given above. ans = 'Error using Screen Usage: [ moviePtr [duration] [fps] [width] [height] [count] [aspectRatio] [hdrStaticMetaData]]=Screen('OpenMovie', windowPtr, moviefile [, async=0] [, preloadSecs=1] [, specialFlags1=0][, pixelFormat=4][, maxNumberThreads=-1][, movieOptions]);' ans = 18
For what it’s worth, during the update to Win 11 I had to change a Bios parameter (to enable TPM 2), and the driver called “AsIO.sys” may be deactivated (apparently this is different from ASIO i.e. is an ASUS file unrelated to audio, and online forums suggests the file can essentially be left deactivated/deleted). Otherwise the update to Windows 11 has been uneventful.
Has anyone encountered something like this? I’ve tried searching online and found nothing (or nothing I can understand, anyway, as my understanding of gstreamer is null). What we’ve already tried, to no avail:
- We have already been running the experiment in -nojvm
- Tried locating and deleting GStreamer registry, as hinted on by the PTB website. However, I was not able to locate the relevant registry file on my machine.
- Reinstalled GStreamer (“complete”)
- Installed the standalone Windows libraries mentioned in Psychtoolbox-3 - Download, Installation, and Update just in case
- Reinstalled PTB as well
Thanks for any leads on this!