[FFmpeg-devel] dynamic memory allocation

Carl Eugen Hoyos cehoyos
Wed Mar 3 11:34:07 CET 2010


maxime louvel <m.louvel <at> gmail.com> writes:

> To log the memory I simply intercept every call to malloc and print it, then
> I worked on the printed results.

I am certainly no expert, but reading man malloc suggests there are other
methods of allocating memory (that are used in FFmpeg).
You should use valgrind to investigate memory consumption.
There is also the benchmark option that shows peak memory consumption (but it
does not work on all installations).

Carl Eugen




More information about the ffmpeg-devel mailing list