check the return value of gst_element_seek too . <br><br><div class="gmail_quote">On Mon, Jan 10, 2011 at 3:00 PM, sudarshan bisht <span dir="ltr"><<a href="mailto:bisht.sudarshan@gmail.com">bisht.sudarshan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br> It seems amrwbdec does not handle src pad event (seek ) and thats why there is a blocking. There is a lack of implementation of src event handling thats why kept in gst-plugins-ugly.<div>
<div></div><div class="h5"><br> <br><br><div class="gmail_quote">
On Mon, Jan 10, 2011 at 11:39 AM, jorney <span dir="ltr"><<a href="mailto:jorney_dong@asus.com" target="_blank">jorney_dong@asus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Hi<br>
I am writing amr-wb player with gstreamer on Marvell pxa310.<br>
When I seek to a position by time format, there is a long time blocking<br>
(10 sec or even to 1 min), and there is no voice during the block, then<br>
an EOS message was emitted,<br>
but the position I seeked is far away to the end of the file.<br>
<br>
Bytes format has the same problem! here is my seek code:<br>
<br>
breslt = gst_element_seek(pipeline,<br>
1.0,<br>
GST_FORMAT_BYTES,<br>
GST_SEEK_FLAG_FLUSH,//|GST_SEEK_FLAG_KEY_UNIT|GST_SEEK_FLAG_SEGMENT,<br>
GST_SEEK_TYPE_SET,<br>
bytePos,//GST_SECOND*nForw*count,<br>
GST_SEEK_TYPE_NONE,<br>
GST_CLOCK_TIME_NONE<br>
);<br>
<br>
I use gstreamer-0.10.29 and gst-plugins-ugly-0.10.15's amrwbdec,<br>
gst-plugins-bad-0.10.13's amrparse. like this:<br>
<br>
gst-launch filesrc location=abc.amr ! amrparse ! amrwbdec ! alsasink<br>
<br>
<br>
And the codec is opencore-amr-0.1.2<br>
Could any body help?<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/amr-wb-seek-problem-tp3206831p3206831.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/amr-wb-seek-problem-tp3206831p3206831.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
<br>
------------------------------------------------------------------------------<br>
Gaining the trust of online customers is vital for the success of any company<br>
that requires sensitive data to be transmitted over the Web. Learn how to<br>
best implement a security strategy that keeps consumers' information secure<br>
and instills the confidence they need to proceed with transactions.<br>
<a href="http://p.sf.net/sfu/oracle-sfdevnl" target="_blank">http://p.sf.net/sfu/oracle-sfdevnl</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">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><br clear="all"><br></div></div>-- <br>Regards,<br><font color="#888888"><br>Sudarshan Bisht<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>