Rank: 7814 based on 0 downloads (last 30 days) and 0 files submitted
photo

tmh

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by tmh View all
Updated File Comments Rating
09 Apr 2009 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert

Hi Micah,

I use "top" to monitor memory (de-)allocation. A colleaegue of mine on 64-bit Vista does not have this problem, but he uses an older version of Matlab (R2007b). All the best,

Tycho

03 Apr 2009 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert

Hi Micah,

Every time I call mmread in matlab R2008b from the matlab command line:

e.g. video=mmread('/some/path/to/file.MPG');

and subsequently clear memory:

clear video;

memory is not deallocated. I am running this on 64-bit Linux. Do you know of any memory leak issues? Thanks!

28 Jan 2009 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert

Hi Micah!
Thanks for the very useful code.

If anyone could help, or give a hint I would greatly appreciate it:

I am having trouble getting this compiled on a Linux 64-bit system (Ubuntu Intrepid 8.10). When I issue the command buildlinux from the matlab command line I get a warning followed by a slew of errors (first two listed):

Warning: You are using gcc version "4.3.2-1ubuntu12)". The earliest gcc version supported with mex is "4.0.0". The latest version tested for use with mex is "4.2.0". To download a different version of gcc, visit http://gcc.gnu.org

-> g++ -c -Iavbin/include -Iavbin/ffmpeg -I/usr/local/matlab-R2008b/extern/include -DMATLAB_MEX_FILE -ansi -D_GNU_SOURCE -fPIC -fno-omit-frame-pointer -pthread -DMX_COMPAT_32 -O -DNDEBUG "FFGrab.cpp"

FFGrab.cpp:44:20: error: avbin.h: No such file or directory
FFGrab.cpp:45:35: error: libavformat/avformat.h: No such file or directory ...
...
...
...

followed by a slew of other errors.

Contact us at files@mathworks.com