[gst-devel] Re : Problem in Seeking

Albert Costa costa_albert at yahoo.fr
Wed May 27 16:05:22 CEST 2009


Hi, I have encountered the same problem, and unfortunately it is an issue with the mpegts demuxer, as described by the following bug:
Bug 550634 – [mpeg ts demuxer] Doesn't support seeking and duration reporting
(sorry for the double mail sending, I hit the 'send' key by mistake)

Regards,
Al.

________________________________
De : Sumanth V <sumanth.v at allaboutif.com>
À : Discussion of the development of GStreamer <gstreamer-devel at lists.sourceforge.net>
Envoyé le : Mercredi, 27 Mai 2009, 11h57mn 50s
Objet : [gst-devel] Problem in Seeking

Hi All,

      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

filesrc location=file.ts ! decodebin ! ffmpegcolorspace ! ximagesink.

The following seek event i am sending to the pipeline to perform the seek operation.

gst_element_seek( pipeline,1.0,GST_FORMAT_BYTES, GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT ,GST_SEEK_TYPE_SET, 6560312,GST_SEEK_TYPE_END,-1);

It just shows the only one frame and freezs. Where am i going wrong in seeking? What is the correct method of seeking?


Thanks All,


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090527/f0fa7ec8/attachment.htm>


More information about the gstreamer-devel mailing list