[FFmpeg-trac] #2628(undetermined:new): when fifo_size is set , memory leaks
FFmpeg
trac at avcodec.org
Tue Jun 25 11:49:35 CEST 2013
#2628: when fifo_size is set , memory leaks
---------------------------------+----------------------------------------
Reporter: baituxp | Owner:
Type: defect | Status: new
Priority: normal | Component: undetermined
Version: 1.2.1 | Resolution:
Keywords: leak | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 1 |
---------------------------------+----------------------------------------
Comment (by baituxp):
I have tested 4 cases:
1, encoding : x264, output : network, memory leak: 60M/min,
2, encoding : x264, output : null -, memory leak: 60M/min,
3, encoding : mpegvideo, output : network, memory leak: 60M/min,
4, encoding : mpegvideo, output : null - , memory leak: 27M/min,
so, I think the memory leak exists in the input part of the ffmpeg.
5.
whats more, I guess the memory leak is caused by the exception handling of
the input part .
because we find that if the input video stream is "good"( "good" means no
error messages output on the ffmpeg screen when ffmpeg is used to
transcode a realtime ts stream), the memory does not leak, however, if the
input video stream is "bad" ( "bad" means many error messages is printed
on the screen ... ), the memory leaks very fast.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2628#comment:15>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list