[FFmpeg-user] ffmpeg: h264 encoding excessive memory usage (leakage?) and max_alloc

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Feb 7 23:49:52 CET 2013


Ziggy Stardust <zstardustn1 <at> gmail.com> writes:

> I noticed a possible memory leak in h264 encoder,

This would need valgrind output

> and if not so at least a huge memory usage.

This is possible.

> I feed ffmpeg from a named pipe, and the command line is:
> 
> ffmpeg -y -r 5 -g 20 -max_alloc 100000000 -an 
> -pix_fmt rgb32 -s 1298x994 -f rawvideo 
> -i \\.\Pipe\VideoCapture.00000dec.00000000.rw -f flv 
> -vcodec h264 ".\\video.flv"

There is no indication that this is a FFmpeg problem.
(Note that FFmpeg does not contain a native h264 
encoder.)

Carl Eugen



More information about the ffmpeg-user mailing list