首页 > 其他 > 详细

MATLAB读视频报错 Unable to initialize the video obtain properties (videoreader in Matlab)

时间:2018-12-17 00:58:06      阅读:259      评论:0      收藏:0      [点我收藏+]

这个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

参考:stackoverflow

首先安装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)

原文:https://www.cnblogs.com/demian/p/10128887.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!