<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div>Hi, I have encountered the same problem, and unfortunately it is an issue with the mpegts demuxer, as described by the following bug:</div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">De :</span></b> Sumanth V <sumanth.v@allaboutif.com><br><b><span style="font-weight: bold;">À :</span></b> Discussion of the development of GStreamer <gstreamer-devel@lists.sourceforge.net><br><b><span style="font-weight: bold;">Envoyé le :</span></b> Mercredi, 27 Mai 2009, 11h57mn 50s<br><b><span style="font-weight: bold;">Objet :</span></b> [gst-devel] Problem in Seeking<br></font><br>Hi
All,<br><br> I am trying to perform a seeking operation on a TS file, but it just shows only one frame and its freezing. I am trying to perform a random seek operation, i.e I want to play from a different offset positon. After a PAUSE operation. The Pipeline i am using is<br>
<br>filesrc location=file.ts ! decodebin ! ffmpegcolorspace ! ximagesink.<br><br>The following seek event i am sending to the pipeline to perform the seek operation.<br><br>gst_element_seek( pipeline,1.0,GST_FORMAT_BYTES, GST_SEEK_FLAG_FLUSH |<span class="term"><code class="literal"> </code></span>GST_SEEK_FLAG_KEY_UNIT ,GST_SEEK_TYPE_SET, 6560312,GST_SEEK_TYPE_END,-1);<br>
<br><span class="term"><code class="literal"></code>It just shows the only one frame and freezs. Where am i going wrong in seeking? What is the correct method of seeking?<br><br><br>Thanks All,<br><br></span>
</div></div><div style="position:fixed"></div></div><br>
</body></html>