Error occurs in "aviread" . URGENT

1 次查看(过去 30 天)
Stephen
Stephen 2012-5-10
I was running a tracking moving object program written by others and sent me from email. I am wondering why the first line of the program , "avi=aviread('SampleVideo.avi')", goes wrong. It leads to the failure of the whole program. Could you tell me what's wrong with that? Errors are as follow:
input video
??? Error using ==> aviread at 73
Unable to locate decompressor Indeo5 to decompress video stream.
See Mathworks Technical Solution 1-4G50QZ for more info.
Error in ==> run at 5
avi = aviread('SampleVideo.avi');
  1 个评论
Walter Roberson
Walter Roberson 2012-5-10
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency

请先登录,再进行评论。

回答(1 个)

Sean de Wolski
Sean de Wolski 2012-5-10
  4 个评论
Stephen
Stephen 2012-5-11
It is weird that when I make an avi from matlab myself. And later as I wrote another program myself. I found that aviread is available and I can continue other processes. However when others send me a matlab program with an avi and aviread function, I cannot run it.
Walter Roberson
Walter Roberson 2012-5-11
64 bit Windows does not support indeo5 for 64 bit execution, and the makers of indeo5 have said publicly that they will *not* be creating a 64 bit version.
When you create the avi on your 64 bit MATLAB, it uses uncompressed files.
You run into difficulties when you try to use an indeo5 encoded AVI that was created in a 32 bit version of MATLAB.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by