VideoReader - Matlab R2014b - Ubuntu 15.10

6 visualizaciones (últimos 30 días)
Daniel Matthes
Daniel Matthes el 29 de En. de 2016
Comentada: Jingya Liu el 14 de Nov. de 2017
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 comentarios
Walter Roberson
Walter Roberson el 25 de Abr. de 2016
Qiang GUO, did you try the gstreamer fix?

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 29 de En. de 2016
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 comentarios
Daniel Matthes
Daniel Matthes el 1 de Feb. de 2016
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 el 1 de Feb. de 2016
Sorry, I do not have any additional ideas.

Iniciar sesión para comentar.

Más respuestas (1)

holmes shuan
holmes shuan el 15 de Jul. de 2017
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

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by