[FFmpeg-user] Suspect memory leak in NUT muxer

Paul B Mahol onemda at gmail.com
Fri Oct 18 21:28:48 CEST 2013


On 10/18/13, Massimo Battistel <battistel at gmail.com> wrote:
> hello,
> with the following command line:
>
> ffmpeg -i any.mpg -vcodec rawvideo -acodec pcm_s16le -f nut - 2> NUL |
> ffplay -
>
> for any video file, you can experience a substantial memory leak. Same
> problem using directshow capture source (decklink). In about 12 hours
> ffmpeg passed from 40mb to 550mb and ffplay from 25mb to 380mb.
>
> I suspect the problem is the nut muxer.
> Using ASF (-f asf) as muxer everything is fine and no mem leak is detected.
> I have not tested other muxers.
>
> ffmpeg/ffplay version used for these tests:
> "N-55020-g768e40b" 64bit on Windows 7 64bit.
> "N-54960-gf3f4e13" 32bit on Windows XP 32 bit.
>
> thanks,
> MB
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>

nut allocates memory for sync points, so more frames more memory is needed.


More information about the ffmpeg-user mailing list