[gst-devel] Re : Problem in Seeking
Albert Costa
costa_albert at yahoo.fr
Wed May 27 16:03:45 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:
________________________________
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/01157c7d/attachment.htm>
More information about the gstreamer-devel
mailing list