Error occurs in "aviread" . URGENT

1 view (last 30 days)
Stephen
Stephen on 10 May 2012
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
Walter Roberson
Walter Roberson on 10 May 2012
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
Stephen
Stephen on 11 May 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 on 11 May 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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!