GStreamer configuration problem after updating PTB

Hi


I recently updated to PTB 3.0.14 (on Ubuntu 16.04)

and after trying to run SimpleMovieDemo I get this error:


***********************************************************************************

PTB-INFO: This is Psychtoolbox-3 for GNU/Linux X11, under Matlab 64-Bit (Version 3.0.14 - Build date: Apr  6 2018).
PTB-INFO: Support status on this operating system release: Linux 4.15.0-29-generic Supported.
PTB-INFO: Type 'PsychtoolboxVersion' for more detailed version information.
PTB-INFO: Most parts of the Psychtoolbox distribution are licensed to you under terms of the MIT License, with
PTB-INFO: some restrictions. See file 'License.txt' in the Psychtoolbox root folder for the exact licensing conditions.

PTB-INFO: NVIDIA Corporation - GK208 [GeForce GT 730] GPU found. Trying to establish low-level access...
PTB-INFO: Connected to NVidia GK208 [GeForce GT 730] GPU of NV-0e0 family with 4 display heads.


PTB-INFO: OpenGL-Renderer is NVIDIA Corporation :: GeForce GT 730/PCIe/SSE2 :: 4.5.0 NVIDIA 384.130
PTB-INFO: VBL startline = 1080 , VBL Endline = 1124
PTB-INFO: Measured monitor refresh interval from beamposition = 16.665979 ms [60.002475 Hz].
PTB-INFO: Will use beamposition query for accurate Flip time stamping.
PTB-INFO: Measured monitor refresh interval from VBLsync = 16.665940 ms [60.002615 Hz]. (50 valid samples taken, stddev=0.020814 ms.)
PTB-INFO: Reported monitor refresh interval from operating system = 16.666667 ms [60.000000 Hz].
PTB-INFO: Small deviations between reported values are normal and no reason to worry.
PTB-ERROR: Failed to create GStreamer playbin element! Your GStreamer installation is
PTB-ERROR: incomplete or damaged and misses at least the gst-plugins-base set of plugins!
INTERNAL PSYCHTOOLBOX ERROR
    error:                PsychError_system
    general description:  Error reported by a system call
    specific description: Opening the movie failed. GStreamer configuration problem.
    module name:          Screen
    subfunction call:     OpenMovie
    file name:            Common/Screen/PsychMovieSupportGStreamer.c
    function name:        PsychGSCreateMovie
    line number:          623
Error using Screen
See error message printed above.

Error in SimpleMovieDemo (line 56)
    movie = Screen('OpenMovie', win, moviename);

***********************************************************************************


I honestly don't really know my way around Linux so I'd really appreciate some help!

Thank you very much :)


Maya



mitzimeowmeow@... [PSYCHTOOLBOX] <PSYCHTOOLBOX@yahoogroups.com> wrote:

Hi


Hi.

I recently updated to PTB 3.0.14 (on Ubuntu 16.04)


What was it before the update?

and after trying to run SimpleMovieDemo I get this error:


Never saw this one before. Hints to a missing plugin package, but i'd expect that plugin package to be installed by default on any half-way modern Linux distro. So maybe some corrupted configuration file?

What happens if you type this in a terminal, obviously replacing the path to the movie file with an appropriate one on your setup?
gst-play-1.0 ~/projects/OpenGLPsychtoolbox/Psychtoolbox-3/Psychtoolbox/PsychDemos/MovieDemos/DualDiscs.mov

Does this produce output instead of an error message?

gst-inspect-1.0 playbin

Also try the following command to delete the plugin registry and trigger a rebuild in case it is somehow damaged, restart Matlab afterwards. I assume you run Matlab under your normal user account, *not* something like "sudo matlab".

rm -rf .cache/gstreamer-1.0/

If that doesn't help, try this:

sudo apt install gstreamer1.0-plugins-base

-mario

****************************** ****************************** ***********************

PTB-INFO: This is Psychtoolbox-3 for GNU/Linux X11, under Matlab 64-Bit (Version 3.0.14 - Build date: Apr 6 2018).
PTB-INFO: Support status on this operating system release: Linux 4.15.0-29-generic Supported.
PTB-INFO: Type 'PsychtoolboxVersion' for more detailed version information.
PTB-INFO: Most parts of the Psychtoolbox distribution are licensed to you under terms of the MIT License, with
PTB-INFO: some restrictions. See file 'License.txt' in the Psychtoolbox root folder for the exact licensing conditions.

PTB-INFO: NVIDIA Corporation - GK208 [GeForce GT 730] GPU found. Trying to establish low-level access...
PTB-INFO: Connected to NVidia GK208 [GeForce GT 730] GPU of NV-0e0 family with 4 display heads.


PTB-INFO: OpenGL-Renderer is NVIDIA Corporation :: GeForce GT 730/PCIe/SSE2 :: 4.5.0 NVIDIA 384.130
PTB-INFO: VBL startline = 1080 , VBL Endline = 1124
PTB-INFO: Measured monitor refresh interval from beamposition = 16.665979 ms [60.002475 Hz].
PTB-INFO: Will use beamposition query for accurate Flip time stamping.
PTB-INFO: Measured monitor refresh interval from VBLsync = 16.665940 ms [60.002615 Hz]. (50 valid samples taken, stddev=0.020814 ms.)
PTB-INFO: Reported monitor refresh interval from operating system = 16.666667 ms [60.000000 Hz].
PTB-INFO: Small deviations between reported values are normal and no reason to worry.
PTB-ERROR: Failed to create GStreamer playbin element! Your GStreamer installation is
PTB-ERROR: incomplete or damaged and misses at least the gst-plugins-base set of plugins!
INTERNAL PSYCHTOOLBOX ERROR
error: PsychError_system
general description: Error reported by a system call
specific description: Opening the movie failed. GStreamer configuration problem.
module name: Screen
subfunction call: OpenMovie
file name: Common/Screen/ PsychMovieSupportGStreamer.c
function name: PsychGSCreateMovie
line number: 623
Error using Screen
See error message printed above.

Error in SimpleMovieDemo (line 56)
movie = Screen('OpenMovie', win, moviename);

****************************** ****************************** ***********************


I honestly don't really know my way around Linux so I'd really appreciate some help!

Thank you very much :)


Maya