Hi all...<br><br> 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 <b>1MB </b><br>
<br> About my programme : <br><br> <br> souphttpsrc----> multipartdemux----->queue ---->capsfilter---->jpegdec----->videorate---> ffenc_flv----->queue ----> ffmux_flv------>filesink<br>
<br><br>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 <b>gst_pad_set_blocked_async</b> . In the block call back i change the filesink location.. Its working fine...except this memory Issue.<br>
<br>Here is my source code .from pastebin <br><br> <a href="http://pastebin.com/pTDaAyu5">http://pastebin.com/pTDaAyu5</a><br><br>Is there anything wrong in the source code ... Please Advice ...<br>
<br>Thanks <br>Lijin<br><br><br>