MATLAB: Do I receive errors when reading DV AVI or DV Video Files

aviaviinfoavireaddigitaldvfilefoundMATLABnostreamvideo

I am using AVIREAD to read a Digital Video AVI file into MATLAB, but I get the following error:
??? Error using ==> aviinfo (errorWithFileClose)
No video stream found.
Error in ==> D:\Applications\MATLABR12p1\toolbox\matlab\iofun\aviinfo.m
On line 186 ==> errorWithFileClose('No video stream found.',fid);
Error in ==> D:\Applications\MATLABR12p1\toolbox\matlab\iofun\aviread.m
On line 46 ==> info = aviinfo(filename,'Robust');

Best Answer

This is a bug in MATLAB 6.1 (R12).
This bug has been resolved in newer releases of MATLAB. Use MMREADER to read DV AVI or DV Video files. This function is available in the following releases of MATLAB for various supported platforms:
- MATLAB 7.5 (R2007b) on 32-bit and 64-bit Windows machines
- MATLAB 7.6 (R2008a) on Maci
- MATLAB 7.8 (R2009a) on 32-bit and 64-bit Linux machines.
Install the appropriate release of MATLAB to resolve this issue.