Hi all,
Here is an image
http://www.geocities.com/yeungtt/matlab1.jpg
The upper part information is shown by VirtualDub.
You see there are 2248 frames.
However, the lower part information is shown by Matlab by using command aviinfo(). You see there are only 1705 frames.
Not only this file, I...
If the file is too large (maybe over 300Mb), the Matlab cannot read such file by one time. So you could read the avi file frame by frame.
Here is an example:
info = aviinfo('xxx.avi');
for i=1:info.NumFrames
%do thing of i-th frame
end
Regards,
Alex
Recently, I had to read some wmv files to Matlab. But I have found the help file, Matlab only supports avi file. How to open a wmv file?? thank you very much.