On 27/02/15 10:53, [email protected] wrote:
Hi community,

I am currently developing an application which is saving data from VP8
RTP stream to WebM file (video-only).
Server is: Ubuntu 14.04.2 LTS.
Libav package version is 6:9.16-0ubuntu.
I am viewing memory usage via: watch -n 1 free

Frames are saved to video, but the problem is every time I use
av_write_frame, my memory usage is growing linearly with the WebM file
size.
It is not freed after finishing the video. Only deleting the video file
deallocs the memory.

When I comment out av_write_frame line, no leak is happening.

Thanks very much in advance.

Here are important parts of my code:
http://pastebin.com/UaXsLDQR <http://pastebin.com/UaXsLDQR>


Probably mkv keeps an index.

_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to