DirectShow (DirectX) based AVI file reader (update Windows 64 bits)

A Windows 64 bits update for directShow (DirectX) based AVI file reader


Updated 21 May 2012

View License

Ashwin Thangali gives and excelent toolbox to read image frames into Matlab from an AVI file using DirectShow on Windows 32 bits (ID #9901).

I have compiled a new version for windows 64 bits. According to the rules of File Exchange, I can not upload the mexw64 files, so I indicate how to generate them.

You can use 'mex_cmd_x64.m' to compile them. Previously you must have installed the software mentionated below:

* Microsoft Windows SDK v7.1:

* Microsoft DirectX SDK (June 2010):

How to compile the mexw64 files:

* Once installed the above software, you should check that the path indicated in the file 'mex_cmd_x64.m' matches the path where you installed the software

* Download and unzip the AVI read Toolbox for 32 bits from here:

* Download this 64 bits update and unzip it in the same folder above (it will overwrite several files)

* Launch the file 'mex_cmd_x64.m' from Matlab

* And that´s all :-)

What is new:

* Update the dxAviOpenMex.cpp, dxAviCloseMex.cpp, dxAviReadMex.cpp, dxConvertToAviMex.cpp and aviHeader.h files to be consistent with Windows 32 and 64 bits

* Update the zconf.h, zlib.h and zutil.h files with the current version (zlib 1.2.7)

* Add a new version of zlib.lib for 64 bits (zlib1.lib)

* Add the new .mexw64 files to the AVI read Toolbox (when you finish the compilation process)

The new update has been compiled and tested with Microsoft Visual C++ 2010 and Matlab v7.10.0 (R2010a)

Cite As

José Ignacio Gómez Espínola (2023). DirectShow (DirectX) based AVI file reader (update Windows 64 bits) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: DirectShow (DirectX) based AVI file reader

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes