<div dir="ltr">Hi team,<div>I just wanted to know if you had an opportunity to look into this issue and were able to reproduce this with the steps provided. This is kind of a show-stopper for us. Appreciate any inputs an advance.</div><div><br></div><div>Dinesh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 2, 2018 at 3:35 PM, Dinesh Iyer <span dir="ltr"><<a href="mailto:dsi.maillist@gmail.com" target="_blank">dsi.maillist@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">

















<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Hello Gstreamer developers,<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">I would like to report a sporadic stall in gstreamer 1.10.4
(Debian 9) or higher versions while reading video files. I have created a
standalone script, the file and the video file can be found in the following
location: <span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><a href="https://drive.google.com/open?id=14Qss_2-EBeRb5k204pcoIz7_AgmR1FRl" style="color:rgb(5,99,193);text-decoration:underline" target="_blank">https://drive.google.com/open?<wbr>id=14Qss_2-EBeRb5k204pcoIz7_<wbr>AgmR1FRl</a><span></span></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><br></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><a href="https://drive.google.com/open?id=15xZ1wcuQBN7pPxU7Ru08hSR7YagUQV6w" style="color:rgb(5,99,193);text-decoration:underline" target="_blank">https://drive.google.com/open?<wbr>id=<wbr>15xZ1wcuQBN7pPxU7Ru08hSR7YagUQ<wbr>V6w</a><span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">The GDB stack trace from my machine can be found here:<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><a href="https://drive.google.com/open?id=1M8Srjd1Qp4Y8C8Edepme2lwzzWSpOZM3" style="color:rgb(5,99,193);text-decoration:underline" target="_blank">https://drive.google.com/open?<wbr>id=<wbr>1M8Srjd1Qp4Y8C8Edepme2lwzzWSpO<wbr>ZM3</a><span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span> </span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">The stall seems to be appearing in gst_element_seek_simple
().<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Here is what I am trying to do in my application: <span></span></p>

<ol style="margin-top:0in;margin-bottom:0in" start="1" type="1">
 <li class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>Create the playbin. <span></span></span></li>
 <li class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>Set the playbin to
     PLAYING. <span></span></span></li>
 <li class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>Seek and read the first
     frame. <span></span></span></li>
 <li class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>Seek and read the 41<sup>st</sup>
     frame and read 4 more samples (file has a total of 45 frames). <span></span></span></li>
 <li class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>Seek back to 1<sup>st</sup>
     frame. That is where the STALL happens.<span></span></span></li>
</ol>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">I have put the number of iterations to be 5000 but usually
the stall appears in around 200-300 iterations. <span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span></span></p>

<p class="m_3367190650048651695gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Can you please confirm if this is a bug in Gstreamer and
if there is a way to avoid the stall while reading the file using Gstreamer?<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Thanks!<span></span></p>





<br></div>
</blockquote></div><br></div>