[Bug 687493] Huge memory leak using Python, Gtk+, GStreamer and vp8enc

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun May 5 04:25:19 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=687493
  GStreamer | don't know | 1.0.1

--- Comment #13 from David Klasinc <bigwhale at lubica.net> 2013-05-05 11:25:17 UTC ---
I did some more testing and it turns out the memory leak is gone if I use these
parameters:

self.videnc.set_property("cpu-used", 2)
self.videnc.set_property("end-usage", "vbr")
self.videnc.set_property("target-bitrate", 800000000)
self.videnc.set_property("static-threshold", 1000)
self.videnc.set_property("token-partitions", 2)
self.videnc.set_property("max-quantizer", 30)
self.videnc.set_property("threads", self.cores)

There is no memory leaking, but flushing the pipeline after stopping it, takes
a lot of time and there are many dropped frames in the video. The resulting
framerate is around one frame per second, perhaps even less.


Using the following parameters:

self.videnc.set_property("cpu-used", 6)
self.videnc.set_property("deadline", 1000000)
self.videnc.set_property("min-quantizer", 15)
self.videnc.set_property("max-quantizer", 15)
self.videnc.set_property("threads", self.cores)

Framerate is what I expect it to be, flushing the pipeline takes no time -
there is no wait after stopping the pipeline, but the memory leak is back. Two
minutes into the video htop is showing 6.5% of memory usage on my 16GB machine.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list