[Bug 789462] Multi branched pipe freezes in case CPU overloaded

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 25 15:53:02 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=789462

--- Comment #5 from Mathieu Duponchelle <mduponchelle1 at gmail.com> ---
(In reply to Alex from comment #4)
> Hi
> this latest case is close to original issue.
> I mean originally instead x264enc I did use my custom OpenCV plugin.
> 
> So does any body know why pipe freezes and how it could be resolved?

There may be multiple reasons for that, as we do not know the implementation of
your custom plugin, we can only guess: does your plugin need more than one
second of buffers before it outputs something ? If you know exactly what
latency it introduces, you can use that to set a higher max-size-time on the
queues. Alternatively, you could also set async=false on the fakesink.

> I mean probably somehow allow to drop frames or other things... ???

It really depends on what the problem is, we can't really know that for your
custom element. For the pipeline with an x264enc , you can use either of the
solutions I pointed out earlier (larger queues, tune=zerolatency).

-- 
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