Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/matlab/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在matlab中读取视频不起作用(将在系统上安装以下编解码器)_Matlab_Video_Ffmpeg_Codec_Mpeg - Fatal编程技术网

在matlab中读取视频不起作用(将在系统上安装以下编解码器)

在matlab中读取视频不起作用(将在系统上安装以下编解码器),matlab,video,ffmpeg,codec,mpeg,Matlab,Video,Ffmpeg,Codec,Mpeg,当我试图在matlab中读取视频时v=VideoReader('t.avi')我得到这个错误: The file requires the following codec(s) to be installed on your system: video/x-msvideo 当我尝试加载mpeg或mp4视频时,它需要一些时间来进行mpeg编解码器 我发现有人提到将libstdc++.so.6.0重命名为libstdc++.so.6.0.10,但我发现我已经有了libstdc++.so.6

当我试图在matlab中读取视频时
v=VideoReader('t.avi')我得到这个错误:

The file requires the following codec(s) to be installed on your system:
    video/x-msvideo
当我尝试加载mpeg或mp4视频时,它需要一些时间来进行
mpeg
编解码器

我发现有人提到将libstdc++.so.6.0重命名为libstdc++.so.6.0.10,但我发现我已经有了libstdc++.so.6.0.13

我将Matlab2013与archlinux一起使用

更新:当我试图阅读视频时,在终端中得到了这个信息

Failed to load plugin '/usr/lib/gstreamer-0.10/libgstpango.so':
/usr/lib/libharfbuzz.so.0: undefined symbol: FT_Face_GetCharVariantIndex

除了Matlab,其他依赖外部编解码器的视频播放器能否播放视频?如果你指的是使用vlc运行视频,是的,所有视频都可以正常工作,它使用的是opencv+python。我只知道matlabVlc带来了自己的编解码器,但据我所知,opencv没有。所以我们知道你的系统上有编解码器,可以使用。我想这个答案可能与我的问题有关。但我不知道如何检查某个包裹是否破损。