Hi,<br><br> Yes I send the seek event after the pipeline is PAUSED and then i set the pipeline to PLAYING. I tried sending the seek event while the pipeline is PLAYNIG, in both case it shows only a single frame and then the screen is freezed. Seek is happening correctly , but its not playing. Is the seek event what i am sending is correct? <br>
<br>Thanks,<br><br><div class="gmail_quote">On Wed, May 27, 2009 at 6:58 PM, Andoni Morales <span dir="ltr"><<a href="mailto:ylatuya@gmail.com">ylatuya@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2009/5/27 Sumanth V <<a href="mailto:sumanth.v@allaboutif.com">sumanth.v@allaboutif.com</a>>:<br>
<div><div></div><div class="h5">> Hi All,<br>
><br>
> I am trying to perform a seeking operation on a TS file, but it just<br>
> shows only one frame and its freezing. I am trying to perform a random seek<br>
> operation, i.e I want to play from a different offset positon. After a PAUSE<br>
> 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<br>
> operation.<br>
><br>
> gst_element_seek( pipeline,1.0,GST_FORMAT_BYTES, GST_SEEK_FLAG_FLUSH<br>
> | GST_SEEK_FLAG_KEY_UNIT ,GST_SEEK_TYPE_SET, 6560312,GST_SEEK_TYPE_END,-1);<br>
><br>
> It just shows the only one frame and freezs. Where am i going wrong in<br>
> seeking? What is the correct method of seeking?<br>
<br>
</div></div>Do you send the seek event after pausing the pipeline?<br>
If so, you will have to set the pipeline to PLAYING state after the<br>
seek. You can also perform a seek with the pipeline in PLAYING state,<br>
and after the seek the pipeline will be setted to PLAYING state again.<br>
<br>
Andoni<br>
<br>
><br>
><br>
> Thanks All,<br>
><br>
><br>
> ------------------------------------------------------------------------------<br>
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT<br>
> is a gathering of tech-side developers & brand creativity professionals.<br>
> Meet<br>
> the minds behind Google Creative Lab, Visual Complexity, Processing, &<br>
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian<br>
> Group, R/GA, & Big Spaceship. <a href="http://p.sf.net/sfu/creativitycat-com" target="_blank">http://p.sf.net/sfu/creativitycat-com</a><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
><br>
><br>
<br>
------------------------------------------------------------------------------<br>
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT<br>
is a gathering of tech-side developers & brand creativity professionals. Meet<br>
the minds behind Google Creative Lab, Visual Complexity, Processing, &<br>
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian<br>
Group, R/GA, & Big Spaceship. <a href="http://p.sf.net/sfu/creativitycat-com" target="_blank">http://p.sf.net/sfu/creativitycat-com</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>