MATLAB on Ubuntu 15.04: VideoReader plugin libmwgstreamerplugin failed to load properly

In MATLAB R2015b, the following command:

obj = VideoReader('traffic.avi');

causes the following error:

Error using VideoReader/init (line 619)
The VideoReader plugin libmwgstreamerplugin failed to load properly.

Error in VideoReader (line 172)
            obj.init(fileName);

I installed gstreamer0.10, confirmed by:

alexander@alexander-desktop:~/Documents/MATLAB$ gst-
gst-codec-info-0.10  gst-inspect-0.10     gst-visualise-0.10   
gst-discoverer-0.10  gst-launch-0.10      gst-xmlinspect-0.10  
gst-feedback-0.10    gst-typefind-0.10    gst-xmllaunch-0.10

I assume that I have the necessary plugins due to the following feedback:

alexander@alexander-desktop:~/Documents/MATLAB$ gst-inspect-0.10 | grep avi
ogg:  oggaviparse: Ogg AVI parser
typefindfunctions: video/x-msvideo: avi
navigationtest:  navigationtest: Video navigation test
avi:  avidemux: Avi demuxer
avi:  avimux: Avi muxer
avi:  avisubtitle: Avi subtitle parser

Does anyone help?

+4
source share
2 answers

This is a known issue. Could you try the following workaround in this error report?

http://www.mathworks.com/support/bugreports/1246784

From the bug report link, there seems to be a problem with the version of GLIBC that MATLAB uses and that uses GStreamer.

Dinesh

+3
source

, libstd++. so.6 MATLAB® .

, , libstd++. so.6 , , MATLAB®.

  • Linux matlabroot/sys/os/glnxa64 :

    ls -l

MATLAB® libstd++. so.6.0.17.

  1. /usr/lib/x 86_64-linux-gnu :

    ls -l libstd++ *

6.0.17, .

  • matlabroot/sys/os/glnxa64.

  • :

    unlink libstd++. so.6

    ln -s/usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstd++. so.6

  • MATLAB®.

0

All Articles