Performance impact of bins/ghostpads?

Edward Hervey bilboed at bilboed.com
Fri Mar 3 10:45:35 UTC 2023


On Fri, 2023-03-03 at 11:11 +0100, Florian Echtler via gstreamer-devel
wrote:
> I'd still like to understand why it makes a difference in this
> scenario, the 
> description in the docs for what that parameter does ("sync on the
> clock") isn't 
> exactly exhaustive.

  When synchronizing, the thread pushing the buffer into the sink will
wait for the target running time.

  That blocks the thread pushing into that sink.

  If there are other elements handled by that same thread (i.e.
everything all the way up to the previous 'queue' element) they won't
do any processing in the meantime.

  * Make sure you have a queue before all your sinks
  * Try using a regular sink also, fpsdisplaysink is really littered
with issues. Even if you're *debugging* you can still use a regular
sink.

  BR,

    Edward


More information about the gstreamer-devel mailing list