From: Sridhar on
Hi all,
I have installed Matlab 7.9.0 on my system running Windows Vista 32 bit. Whenever I use aviread function I get the following error:

Unable to locate decompressor Indeo5 to decompress video stream

I have installed K-lite codec pack and Vista codec pack. I am able to play the avi files using windows media player but Matlab cannot access it. How do I set it right?
From: Shanmugam Kannappan on
"Sridhar " <srrid.ajmal(a)gmail.com> wrote in message <hjjn09$198$1(a)fred.mathworks.com>...
> Hi all,
> I have installed Matlab 7.9.0 on my system running Windows Vista 32 bit. Whenever I use aviread function I get the following error:
>
> Unable to locate decompressor Indeo5 to decompress video stream
>
> I have installed K-lite codec pack and Vista codec pack. I am able to play the avi files using windows media player but Matlab cannot access it. How do I set it right?

Hi,

I am not sure y u need aviread but if you need to read the frames from the video,
Try using "mmreader" command.

Shan...
From: Sridhar on
I tried mmreader it works. But I cannot access the cdata with this function.
Sridhar


"Shanmugam Kannappan" <shanmugambe(a)gmail.com> wrote in message <hjjnvi$470$1(a)fred.mathworks.com>...
> "Sridhar " <srrid.ajmal(a)gmail.com> wrote in message <hjjn09$198$1(a)fred.mathworks.com>...
> > Hi all,
> > I have installed Matlab 7.9.0 on my system running Windows Vista 32 bit. Whenever I use aviread function I get the following error:
> >
> > Unable to locate decompressor Indeo5 to decompress video stream
> >
> > I have installed K-lite codec pack and Vista codec pack. I am able to play the avi files using windows media player but Matlab cannot access it. How do I set it right?
>
> Hi,
>
> I am not sure y u need aviread but if you need to read the frames from the video,
> Try using "mmreader" command.
>
> Shan...
From: Shanmugam Kannappan on
"Sridhar " <srrid.ajmal(a)gmail.com> wrote in message <hjm41c$323$1(a)fred.mathworks.com>...
> I tried mmreader it works. But I cannot access the cdata with this function.
> Sridhar
>
>
> "Shanmugam Kannappan" <shanmugambe(a)gmail.com> wrote in message <hjjnvi$470$1(a)fred.mathworks.com>...
> > "Sridhar " <srrid.ajmal(a)gmail.com> wrote in message <hjjn09$198$1(a)fred.mathworks.com>...
> > > Hi all,
> > > I have installed Matlab 7.9.0 on my system running Windows Vista 32 bit. Whenever I use aviread function I get the following error:
> > >
> > > Unable to locate decompressor Indeo5 to decompress video stream
> > >
> > > I have installed K-lite codec pack and Vista codec pack. I am able to play the avi files using windows media player but Matlab cannot access it. How do I set it right?
> >
> > Hi,
> >
> > I am not sure y u need aviread but if you need to read the frames from the video,
> > Try using "mmreader" command.
> >
> > Shan...

Hi,
You can try like this...

obj =mmreader('myfile.avi')
Vid = read(obj);
Vid ---> is a 4 dimentional data
Vid(1).cada using aviread is equal to Vid(:,:,:,1) in mmreader.

Go to help try in help for how to use "mmreader"

Shan...