[Live-devel] memory leak problem?

Ross Finlayson finlayson at live555.com
Tue Dec 5 14:53:04 PST 2006


>i'm testing recording streaming video with openRTSP on two separate 
>linux platforms (x86 and MIPS) and both instances seem to be leaking 
>memory. is this a known problem? i just wanted ask before looking at 
>the code.
>
>i'm invoking openRTSP with the following runtime options: -F testmov 
>-4 -H -m -f 20 -b 40000

First, it doesn't make sense to use the -m option with -4 (or -q). 
The "-m" option means: output each frame into a separate file.

If you use -4 (or -q), then the program will accumulate (not 'leak') 
memory over time, until it finishes reading the input stream, and is 
ready to complete writing the output file.  This is because of the 
way that MPEG-4 (and MOV) format files are designed.  There is 
nothing that can be done about this.  (The problem is that these file 
formats are ill-designed for recording incoming streams.)
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20061205/afcfdef5/attachment.html 


More information about the live-devel mailing list