decodebin - static linking of decoder and sink

Ash 20001 ash20001 at
Wed Apr 27 06:27:11 UTC 2016

I've tried to do it statically like you suggested but I can never get it working (it always fails with non-negotiated stream). I have a pipeline graph of what decodebin creates but I can't convert that to a static pipeline successfully.
But as you said it doesn't make any difference regarding latency. Right now it takes two frames before I get the pad-added signal from decodebin, not one frame. I guess this means the problem is in the decoder itself?

Subject: Re: decodebin - static linking of decoder and sink
From: sebastian at
To: gstreamer-devel at
Date: Wed, 27 Apr 2016 09:06:01 +0300

On Di, 2016-04-26 at 10:07 -0700, Ash 20001 wrote:
> Or more specifically how to statically link decoder to sink via
> decodebin but without waiting for the pad-added signal.
You can't :) The only other option is to statically link a pipeline
yourself without decodebin, e.g.
  appsrc ! yourh264dec ! xvimagesink
That shouldn't make any difference regarding latency though, decodebin
provides you pad-added at latest once the first decoded frame is
Sebastian Dröge, Centricular Ltd ·

gstreamer-devel mailing list
gstreamer-devel at 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list