From: Kevin on
I am trying to load an avi file into Matlab using this,

>> obj = mmreader('test.avi');
??? Initialization failed. (No combination of intermediate filters could be found to make the connection.)

Error in ==> mmreader.mmreader>mmreader.init at 364
obj.MMReaderImpl = audiovideo.mmreader(fullName);

Error in ==> mmreader.mmreader>mmreader.mmreader at 133
obj.init(fileName);


Does anyone know how to fix this? Or I should call another Matlab function instead of mmreader.

I am using Windows 7. I can play this video file with Windows Media Player.
From: Walter Roberson on
Kevin wrote:
> I am trying to load an avi file into Matlab using this,

>>> obj = mmreader('test.avi');
> ??? Initialization failed. (No combination of intermediate filters could
> be found to make the connection.)

In other words, mmreader() does not have the appropriate codec .

You could _try_ mmfileinfo() and see if it tells you anything useful about the
file.
From: Kevin on
This is what I get from running mmfileinfo( ). It looks ok to me.

>> s = mmfileinfo('test.avi')

s =

Filename: 'test.avi'
Path: 'k:\tmp'
Duration: 178.9920
Audio: [1x1 struct]
Video: [1x1 struct]

Trial>> s.Audio

ans =

Format: 'MPEGLAYER3'
NumberOfChannels: 2

Trial>> s.Video

ans =

Format: 'H264'
Height: 480
Width: 720



Walter Roberson <roberson(a)hushmail.com> wrote in message <hnr8it$5rt$2(a)canopus.cc.umanitoba.ca>...
> Kevin wrote:
> > I am trying to load an avi file into Matlab using this,
>
> >>> obj = mmreader('test.avi');
> > ??? Initialization failed. (No combination of intermediate filters could
> > be found to make the connection.)
>
> In other words, mmreader() does not have the appropriate codec .
>
> You could _try_ mmfileinfo() and see if it tells you anything useful about the
> file.
 | 
Pages: 1
Prev: GUI OpeningFcn
Next: BMP to HEX File