VideoReader - Matlab R2014b - Ubuntu 15.10

2 次查看(过去 30 天)
Hi everybody
I've tried to get access to a AVI-File in Matlab R2014b under Ubuntu 15.10 with the following commands:
info=mmfileinfo('rpn003a02.avi');
v=VideoReader('rpn003a02.avi');
I've tested these two commands with different coded videos (FFV1, FFVhuff and Uncompressed planar YUV 4:4:4). All tests have failed. I always got the following error messages:
Error using mmfileinfo (line 70)
The VideoReader plugin libmwgstreamerplugin failed to load properly.
Error using VideoReader/init (line 619)
The VideoReader plugin libmwgstreamerplugin failed to load properly.
Error in VideoReader (line 172)
obj.init(fileName);
Currently I've installed all available gstreamer0.10 packages under Ubuntu and the gstreamer0.10-ffmpeg plugin out of a PPA source. This should actually help according to similar question I found on google. So I have no further ideas to solve this problem. The gstreamer1.0 packages are also on my system. Maybe they are the source of my problem, but I cannot remove them, because they are necessary for many other applications.
I would appregiate, if somebody could help me?
Kind regards
Daniel Matthes
  4 个评论
Walter Roberson
Walter Roberson 2016-4-25
Qiang GUO, did you try the gstreamer fix?

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2016-1-29
It might be the gstreamer problem; see http://www.mathworks.com/matlabcentral/answers/94531-why-do-i-receive-an-error-when-creating-a-videoreader-object-on-linux-in-matlab-r2010b-7-11#answer_103883 and note that the problem has other symptoms than just the one shown in that Question.
  2 个评论
Daniel Matthes
Daniel Matthes 2016-2-1
Thank you very munch Walter for this hint! Your mentioned workaround brought me one step forward. Now I get access to the videos, which are "Uncompressed planar YUV 4:4:4" coded. If I try to access to FFV1 and FFVHuff coded file, I get still an error. Currently the following one:
Could not read file due to an unexpected error. Reason: Unable to initialize the video obtain properties
Did you have another hint for me?
Kind regards Daniel
Walter Roberson
Walter Roberson 2016-2-1
Sorry, I do not have any additional ideas.

请先登录,再进行评论。

更多回答(1 个)

holmes shuan
holmes shuan 2017-7-15
Problem solved:
sudo add-apt-repository ppa:mc3man/gstffmpeg-keep
sudo apt-get update
sudo apt-get install gstreamer0.10-ffmpeg
sudo apt-get install gstreamer0.10-tools
sudo apt-get install gstreamer0.10-plugins-good

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by