Page 1 of 1

VLM change or delete media seems not free total resource

Posted: 12 Apr 2013 04:53
by vukia
Dears,

I implement a file-split camera recording mechanism that uses VLM to change media output name periodically.
I found that when I record the camera stream continuously, the memory is stable. When I stop stream and then
call change_media to modify destination file name and play_media again. At first the memory usage declined,
and then it raises and finally in a stable state.But it used 200K~500K more final stable memory usage than the previous final stable memory usage.

In my experiment, the stable memory usage is 40mb from the start, after two days the memory usage up to 500mb.
I also try del_media and add_broadcast to implement my mechanism, the result is the same.
Thanks for any help

Re: VLM change or delete media seems not free total resource

Posted: 12 Apr 2013 05:44
by vukia
My development is on the win32 libvlc 2.0.5 and 2.0.6,
I try vlm_set_output method but the result is the same, seems it's caused by vlm_stop_media

Re: VLM change or delete media seems not free total resource

Posted: 12 Apr 2013 08:46
by vukia
strangely..if I change the mux from avi to mp4, this issue seems be solved..@@.