<html><head></head><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:13px"><div id="yiv9856673292"><div id="yui_3_16_0_ym19_1_1476795484009_331925"><div style="color:#000;background-color:#fff;font-family:lucida console, sans-serif;font-size:13px;" id="yui_3_16_0_ym19_1_1476795484009_331924"><div id="yiv9856673292yui_3_16_0_ym19_1_1476795484009_330334"><div id="yui_3_16_0_ym19_1_1476795484009_332715"><span id="yiv9856673292yui_3_16_0_ym19_1_1476795484009_330385">Adding async=false to the filesink works. The pipeline goes to running state.</span></div><div id="yui_3_16_0_ym19_1_1476795484009_332713"><span id="yiv9856673292yui_3_16_0_ym19_1_1476795484009_330385"><br></span></div><div id="yui_3_16_0_ym19_1_1476795484009_332714"><span id="yiv9856673292yui_3_16_0_ym19_1_1476795484009_330385">I will try the other suggested solutions.<br></span></div></div> <div class="yiv9856673292qtdSeparateBR" id="yui_3_16_0_ym19_1_1476795484009_331927"><br clear="none"><br clear="none"></div></div></div></div><div class=".yiv9856673292yahoo_quoted"> <div id="yiv9856673292yui_3_16_0_ym19_1_1476795484009_330442" style="font-family:lucida console, sans-serif;font-size:13px;"> <div id="yiv9856673292yui_3_16_0_ym19_1_1476795484009_330441" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div class="qtdSeparateBR"><br><br></div><div class="yiv9856673292yqt7421758520" id="yiv9856673292yqtfd59070"><div dir="ltr"><font size="2" face="Arial"> Le Jeudi 20 octobre 2016 6h22, Sebastian Dröge <sebastian@centricular.com> a écrit :<br clear="none"></font></div> <blockquote id="yiv9856673292yui_3_16_0_ym19_1_1476795484009_330440" style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;margin-top:5px;padding-left:5px;"> <br clear="none"><br clear="none"> <div class="yiv9856673292y_msg_container" id="yiv9856673292yui_3_16_0_ym19_1_1476795484009_330439">On Wed, 2016-10-19 at 20:02 +0000, philippe renon wrote:<div class="yiv9856673292yqt5971831738" id="yiv9856673292yqtfd54735"><br clear="none">> Hi,<br clear="none">> <br clear="none">> The following pipeline will not got to the playing state (using a<br clear="none">> Windows msys2 build of 1.9.90).<br clear="none">> <br clear="none">> videotestsrc ! tee name=t \<br clear="none">>    t. ! queue ! videoconvert ! autovideosink \<br clear="none">>    t. ! queue ! videoconvert ! x264enc bitrate=1024 ! avimux !<br clear="none">> filesink location=capture.avi<br clear="none">> <br clear="none">> It goes to pause state and just hangs there. A single frame is shown<br clear="none">> in the videosink.<br clear="none">> <br clear="none">> $ gst-launch-1.0.exe videotestsrc ! tee name=t t. ! queue !<br clear="none">> videoconvert ! autovideosink t. ! queue ! videoconvert ! x264enc<br clear="none">> bitrate=1024 ! avimux ! filesink location=capture.avi<br clear="none">> Setting pipeline to PAUSED ...<br clear="none">> Pipeline is PREROLLING ...<br clear="none">> Redistribute latency...<br clear="none">> <br clear="none">> <br clear="none">> Both branches work fine when used on their own.</div><br clear="none"><br clear="none">The problem here is that by default, x264enc has ~3 seconds of latency<br clear="none">and queue only has space for 1 second.<br clear="none"><br clear="none">Either increase the queue limit (at the non-x264enc branch) to more<br clear="none">than 3 seconds (and disable the buffers/bytes limits), or change the<br clear="none">x264enc settings to have a lower latency (e.g. tune=zerolatency).<br clear="none"><br clear="none">-- <br clear="none">Sebastian Dröge, Centricular Ltd · <a rel="nofollow" shape="rect" target="_blank" href="http://www.centricular.com/">http://www.centricular.com</a><br clear="none">_______________________________________________<br clear="none">gstreamer-devel mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><div class="yiv9856673292yqt5971831738" id="yiv9856673292yqtfd75138"><br clear="none"></div><br clear="none"><br clear="none"></div> </blockquote> </div></div><div class="yiv9856673292yqt7421758520" id="yiv9856673292yqtfd16634"> </div></div><div class="yiv9856673292yqt7421758520" id="yiv9856673292yqtfd24297">  </div></div></div></body></html>