Memory Issue in Gstreamer

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Memory Issue in Gstreamer

lijinshyam
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



------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel