简体   繁体   English

使用VideoReader读取mov文件

[英]Reading mov files with VideoReader

I'm trying to read a .mov movie file into MATLAB as follows: 我正在尝试将.mov电影文件读取到MATLAB中,如下所示:

v=VideoReader('file.mov');

I get the following error message: 我收到以下错误消息:

Error using VideoReader/init (line 619)
Could not read file due to an unexpected error. Reason: Error Creating
Source Reader Reason: Unknown error 0xC00D36C4

Error in VideoReader (line 172)
            obj.init(fileName);

How can I resolve this, or what is the source of the problem? 我该如何解决,或者问题的根源是什么?

I'm using MATLAB version R2017a, 64-bit & Windows 7 Enterprise. 我正在使用MATLAB版本R2017a,64位和Windows 7 Enterprise。

The movie plays well on Quicktime. 这部电影在Quicktime上播放良好。

Usually the reasons for that error are: 通常,该错误的原因是:

  1. Unsupported file format. 不支持的文件格式。
  2. Missing Codec. 缺少编解码器。
  3. File is corrupted. 文件已损坏。

In your case, since you're using Windows 7, point#1 should not be a problem because .mov format is supported for Windows 7 and later. 就您而言,由于您使用的是Windows 7,因此点#1应该不会有问题,因为Windows 7和更高版本支持.mov格式。 Since you are able to play that file with Quicktime, so the third possibility is also not valid. 由于您可以使用Quicktime播放该文件,因此第三种可能性也无效。 Missing Codec seems to be an issue in your case. 在您的情况下,缺少编解码器似乎是一个问题。 Search the web for the codec for .mov files and install it and then run your code again. 在网上搜索.mov文件的编解码器并安装它,然后再次运行您的代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM