VLM change or delete media seems not free total resource

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
vukia
Blank Cone
Blank Cone
Posts: 28
Joined: 24 Jan 2011 07:03

VLM change or delete media seems not free total resource

Postby vukia » 12 Apr 2013 04:53

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

vukia
Blank Cone
Blank Cone
Posts: 28
Joined: 24 Jan 2011 07:03

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

Postby vukia » 12 Apr 2013 05:44

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

vukia
Blank Cone
Blank Cone
Posts: 28
Joined: 24 Jan 2011 07:03

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

Postby vukia » 12 Apr 2013 08:46

strangely..if I change the mux from avi to mp4, this issue seems be solved..@@.


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 14 guests