无法初始化视频获取属性(Matlab中的视频读取器)

时间:2015-11-02 20:27:02

标签: matlab

我可以在Windows中使用Matlab阅读一个视频,但无法在ubuntu 14.04中从Matlab读取相同的视频。错误如下:

>> aa = VideoReader('s12_32_xvid.avi');
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);

有人可以帮忙吗?

2 个答案:

答案 0 :(得分:3)

答案 1 :(得分:0)

如果安装了gstreamer0.10-ffmpeg,但问题仍然存在,则可能是缺少编解码器问题。您需要安装编解码器

FROM microsoft/dotnet:2.2-sdk
WORKDIR /app  
COPY . /app    //the file will be here in .
ENTRYPOINT ["dotnet","publish/Server.dll"]
EXPOSE 8300