[gst-devel] Memory Issue in Gstreamer

LIJIN SYAM K lijinsyam at gmail.com
Thu Jan 6 16:58:42 CET 2011


Hi all...

  I just wrote a simple program to read a mjpeg stream from axis camera and
write it in to a filesink.  Here i was testing the memory issue. When i run
the programme for one day the memory from some anonymous location was
increased to *1MB *

 About my programme :


          souphttpsrc----> multipartdemux----->queue
---->capsfilter---->jpegdec----->videorate---> ffenc_flv----->queue ---->
ffmux_flv------>filesink


Here to divide the recording file in to small chunks i add a data probe in
filesink and in the call back when the size exceeds the predefined  size  it
will block the src pad of the queue the one which stand before the flv_mux
using the function *gst_pad_set_blocked_async* . In the block call back  i
change the filesink location..  Its working fine...except this memory Issue.

Here is my source code .from pastebin

                                    http://pastebin.com/pTDaAyu5

Is there anything wrong in the source code ... Please Advice ...

Thanks
Lijin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110106/5027ae65/attachment.htm>


More information about the gstreamer-devel mailing list