VideoReader - Matlab R2014b - Ubuntu 15.10

1 回表示 (過去 30 日間)
Daniel Matthes
Daniel Matthes 2016 年 1 月 29 日
コメント済み: Jingya Liu 2017 年 11 月 14 日
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?
Qiang GUO
Qiang GUO 2016 年 4 月 25 日

サインインしてコメントする。

採用された回答

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
  1 件のコメント
Jingya Liu
Jingya Liu 2017 年 11 月 14 日
It works, thanks a lot.

サインインしてコメントする。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by