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 commentaire

Walter Roberson
Walter Roberson le 10 Mai 2012
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency

Connectez-vous pour commenter.

Réponses (1)

Sean de Wolski
Sean de Wolski le 10 Mai 2012

0 votes

4 commentaires

Stephen
Stephen le 10 Mai 2012
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.
Walter Roberson
Walter Roberson le 10 Mai 2012
If I recall correctly, there is no indeo5 decoder for 64 bit MS Windows operating systems.
Stephen
Stephen le 11 Mai 2012
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 le 11 Mai 2012
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.

Connectez-vous pour commenter.

Question posée :

le 10 Mai 2012

Community Treasure Hunt

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

Start Hunting!

Translated by