Huge memory leak using Python, Gtk+, GStreamer and vp8enc

David Klasinc bigwhale at lubica.net
Fri Nov 2 23:39:03 PDT 2012


Greetings,

This is a simple python program that I use for testing.

http://paste.ubuntu.com/1326716/

ximagesrc is my source and I capture 1920x1080 video which is then 
encoded with vp8 and muxed into a webm container. No audio.

Program develops a big memory leak sometimes peaking over 5MB/s.
I was unable to localize this, however the same pipeline executed with 
gst-launch-1.0 works ok and there are no memory leaks at least not this big.

It appears that something could be wrong with GObject introspection 
because this leak appears only when doing this in python and not in the 
command line.

I also filed a bug in bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=687493

If anyone can shed some light on this, please let me know.

Rgrds,
David


More information about the gstreamer-devel mailing list