Why tee will freeze the pipeline?

Tim Müller tim at centricular.com
Fri Dec 4 04:49:33 PST 2015


On Fri, 2015-12-04 at 17:30 +0600, Yakov Sudeikin wrote:

> Thank you Tim, I did exactly that, but the result is the same.
> 
> http://pastebin.com/n8EHCGKY
> 

Ah right, should've looked properly, sorry.

The other problem is the fact that in its default configuration x264enc
will consume a lot (~2-3 seconds) of buffers before it will output
anything. This means the other queue in front of the ximagesink needs
to be able to accommodate that much data.

You have two options to solve this:

a) use queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 for
the queue in front of the video sink.

b) configure x264enc to output buffers sooner, e.g. by using
tune=zerolatency

Cheers
 -Tim


-- 
Tim Müller, Centricular Ltd - http://www.centricular.com




More information about the gstreamer-devel mailing list