decodebin - static linking of decoder and sink
sebastian at centricular.com
Tue Apr 26 08:16:41 UTC 2016
On Di, 2016-04-26 at 01:11 -0700, Ash 20001 wrote:
> Hello everyone!
> I have a pipeline currently using appsrc ! decodebin ! xvimagesink,
> which processes Raw H264 frames. Problem is I have to feed in at
> least 2 frames of H264 buffers to appsrc before decodebin will emit
> its pad-added signal and link the pads between the decoder (which is
> a HW decoder element) and the xvimagesink.
> 1. Is there anyway to statically link the decoder and xvimagesink
> pads ahead of time so I don't have to wait for 2 frames before it is
> 2. Or is there an alternative to minimize the 2 frame latency?
> Ideally I want to push 1 frame and have that render via xvimagesink
This completely depends on the actual decoder that is used and the
properties of the stream. Most likely your decoder has 2 frames of
latency on the stream you're feeding it, which might be possible to
optimize in this specific decoder or it's an intrinsic property of this
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 949 bytes
Desc: This is a digitally signed message part
More information about the gstreamer-devel