<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">https://drive.google.com/open?id=14Qss_2-EBeRb5k204pcoIz7_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">https://drive.google.com/open?id=15xZ1wcuQBN7pPxU7Ru08hSR7YagUQV6w</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">https://drive.google.com/open?id=1M8Srjd1Qp4Y8C8Edepme2lwzzWSpOZM3</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="gmail-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>