Error occurs in "aviread" . URGENT

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 Comment

http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency

Sign in to comment.

Answers (1)

Sean de Wolski
Sean de Wolski on 10 May 2012

4 Comments

My system is Windows 7 ,64x . The link suggests that I may download an indeo5 but "Writing out uncompressed AVIs gives better results in terms of quality than encoding them using a third party tool." What does it mean by "Writing out uncompressed AVIs" ? How to do? Thank you.
If I recall correctly, there is no indeo5 decoder for 64 bit MS Windows operating systems.
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.
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.

Sign in to comment.

Asked:

on 10 May 2012

Community Treasure Hunt

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

Start Hunting!