MATLAB读视频报错 Unable to initialize the video obtain properties (videoreader in Matlab)
Posted demian
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MATLAB读视频报错 Unable to initialize the video obtain properties (videoreader in Matlab)相关的知识,希望对你有一定的参考价值。
这个bug卡了半天,这里记录一下
Error using VideoReader/init (line 619) Could not read file due to an unexpected error. Reason: Unable to initialize the video obtain properties Error in VideoReader (line 172) obj.init(fileName);
环境:Ubuntu16.04
首先安装gstreamer0.10-ffmpeg
1 sudo add-apt-repository ppa:mc3man/gstffmpeg-keep 2 sudo apt-get update 3 sudo apt-get install gstreamer0.10-ffmpeg
重启MATLAB,如果像我一样还是报错,别慌,继续安装codecs(解码器)
sudo apt install ubuntu-restricted-extra
问题解决
以上是关于MATLAB读视频报错 Unable to initialize the video obtain properties (videoreader in Matlab)的主要内容,如果未能解决你的问题,请参考以下文章
struts报错 严重: Unable to find parent packages struts_default改怎么解决
Nacos 启动报错 Unable to start web server……Unable to start embedded Tomcat
关于ImportError: libssl.so.10: cannot open shared object file: No such file or directory unable to loa
git clone报错:fatal: unable to access ‘‘: SSL certificate problem: unable to get local issuer cer
git clone报错:fatal: unable to access ‘‘: SSL certificate problem: unable to get local issuer cer
tomcat报错-----》Unable to open debugger port IDEA Unable to open debugger port