<div dir="ltr"><div>Dear all,<br>Attached please find the snippet that I am running and facing the "<b>waiting in preroll for flush or PLAYING</b>" log.<br></div>Thanks in advance,<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 28, 2017 at 2:46 PM, mehdi semsarzadeh <span dir="ltr"><<a href="mailto:m.semsar@gmail.com" target="_blank">m.semsar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Dear All,<br>I am having the following pipeline I start and stop it multiple times, and sometimes it fails to start after being stopped. It Hangs on this log: "<b>waiting in preroll for flush or PLAYING</b>"<b>.<br></b></div>As I looked on gstreamer-devel forum the only reason that is mentioned is the need of queue after tee, which is placed in this pipeline.<br>I have attached the log file,<br></div>Thanks for your help<b> </b><br clear="all"><div><div><div><br><br> appsrc name=videoSrc format=3 stream-type=0 ! video/x-raw, format=(string)UYVY, width=1920, height=1080 ! nvvidconv name=videoConvert0 ! video/x-raw(memory:NVMM), format=I420 ! tee name=t ! queue ! omxh264enc name=h264enc0  ! video/x-h264, stream-format=avc ! matroskamux streamable=true ! filesink name=videoPath0 location=vid_es_fifo_0 t. ! queue ! nvvidconv name=videoConvert1 ! video/x-raw(memory:NVMM), width=1920, height=1080 ! omxh264enc name=h264enc1  ! video/x-h264, stream-format=avc ! matroskamux streamable=true ! filesink name=videoPath1 location=vid_es_fifo_1<br><br>
</div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Mehdi Semsarzadeh</div>
</div>