No License
Read image frames into matlab from Video (avi) in Windows Platform. Like aviread matlab function. If wmplayer can read your video this function can read too.
Based AVI file reader provided by Microsoft Video for Windows® (VFW)
In visual C++
Header: Declared in Vfw.h
Library: Use Vfw32.lib
-- Depending on your Matlab version, the .mexw32 files may need to be renamed as .dll
-- The library usage is as follows,
mov = aviread(avi_filename, nframes);
image(mov.cdata);
-- recompile the library
I have compiled the code with Visual C++ .net 2003 (ver 7.1)
under matlab tape:
matlab\> mex -setup
Choose your compiler and execute the file mex_cmd.m in archive file for compiling .cpp source files.
Cite As
Grégory Païs (2025). aviread (https://www.mathworks.com/matlabcentral/fileexchange/18559-aviread), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data >
- MATLAB > Graphics > Images > Read, Write, and Modify Image >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
source_avireader/source_avireader/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |