You are not logged in.

#1 2014-11-19 11:10:37

aliov
Member
Registered: 2009-02-13
Posts: 19

[SOLVED] Matlab Gstreamer0.10 Missing element: video/x-surface decoder

Cannot load video in Matlab 2013 64 bit in my archlinux system. Full gstreamer package is installed. Matlab uses gstreamer0.10. The matlab error is :

obj = VideoReader('Case.AVI');
Error using VideoReader/init (line 450)
The file requires the following codec(s) to be installed on your system:
	video/x-surface

I remember at some point in the past it was perfectly working. I was not using matlab for quite a while, so i dunno which upgrade broke my system... But anyway, on another fresh installed arch system the problem is there.

Trying with gst-launch0.10

gst-launch-0.10 -vv playbin uri=file:///FILENAME
...
Missing element: video/x-surface decoder
ERROR: from element /GstPlayBin:playbin0: You do not have a decoder installed to handle this file. You might need to install the necessary plugins
...

Any help will be very much appreciated.

Last edited by aliov (2014-11-21 13:02:22)

Offline

#2 2014-11-19 14:00:05

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED] Matlab Gstreamer0.10 Missing element: video/x-surface decoder

I found this interesting in that is it still UNCONFIRMED:

http://lists.freedesktop.org/archives/g … 19463.html

Do you have the latest gstreamer plugins installed?


Matt

"It is very difficult to educate the educated."

Offline

#3 2014-11-19 15:06:26

aliov
Member
Registered: 2009-02-13
Posts: 19

Re: [SOLVED] Matlab Gstreamer0.10 Missing element: video/x-surface decoder

Yep, i have the latest gstreamer plugins.

Offline

#4 2014-11-19 15:39:39

drakkan
Member
Registered: 2007-02-24
Posts: 27

Re: [SOLVED] Matlab Gstreamer0.10 Missing element: video/x-surface decoder

do you have gstreamer0.10-vaapi installed? if not try to install it

Offline

#5 2014-11-19 16:41:59

aliov
Member
Registered: 2009-02-13
Posts: 19

Re: [SOLVED] Matlab Gstreamer0.10 Missing element: video/x-surface decoder

Yes of course I do have it. As U said in my first post, I have all gstreamer0.10 packages installed.

Offline

#6 2014-11-21 13:02:25

aliov
Member
Registered: 2009-02-13
Posts: 19

Re: [SOLVED] Matlab Gstreamer0.10 Missing element: video/x-surface decoder

Okay I got it working by removing gstreamer0.10-vaapi. Apparently vaapi support is not working for my intel HD 4000 under gstreamer0.10. Howerver for gst 1.0 it is perfectly working. But Matlab 2013 uses gstreamer0.10.

Last edited by aliov (2014-11-21 13:02:47)

Offline

Board footer

Powered by FluxBB