<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>´ð¸´: [gst-devel] amr-wb seek problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Thanks for your reply!<BR>
<BR>
There is not a blocking in every seek event.<BR>
And the gst_element_seek's return value is TRUE when there is a blocking.<BR>
<BR>
I didn't find a src pad event handler in amrwbdec in ugly(15 or 16). but I's not sure how to handle src pad event in AMRWBDEC,<BR>
could you give me a sample? Thanks!<BR>
<BR>
-----Original Message-----<BR>
From: sudarshan bisht [<A HREF="mailto:bisht.sudarshan@gmail.com">mailto:bisht.sudarshan@gmail.com</A>]<BR>
Sent: 2011-1-10 (ذائعز») 21:09<BR>
To: Discussion of the development of GStreamer<BR>
Subject: Re: [gst-devel] amr-wb seek problem<BR>
<BR>
check the return value of gst_element_seek too .<BR>
<BR>
On Mon, Jan 10, 2011 at 3:00 PM, sudarshan bisht<BR>
<bisht.sudarshan@gmail.com>wrote:<BR>
<BR>
><BR>
> It seems amrwbdec does not handle src pad event (seek ) and thats why<BR>
> there is a blocking. There is a lack of implementation of src event<BR>
> handling thats why kept in gst-plugins-ugly.<BR>
><BR>
><BR>
><BR>
> On Mon, Jan 10, 2011 at 11:39 AM, jorney <jorney_dong@asus.com> wrote:<BR>
><BR>
>><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:<BR>
>> <A HREF="http://gstreamer-devel.966125.n4.nabble.com/amr-wb-seek-problem-tp3206831p3206831.html">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>
>> ------------------------------------------------------------------------------<BR>
>> Gaining the trust of online customers is vital for the success of any<BR>
>> company<BR>
>> that requires sensitive data to be transmitted over the Web. Learn how<BR>
>> to<BR>
>> best implement a security strategy that keeps consumers' information<BR>
>> secure<BR>
>> and instills the confidence they need to proceed with transactions.<BR>
>> <A HREF="http://p.sf.net/sfu/oracle-sfdevnl">http://p.sf.net/sfu/oracle-sfdevnl</A><BR>
>> _______________________________________________<BR>
>> gstreamer-devel mailing list<BR>
>> gstreamer-devel@lists.sourceforge.net<BR>
>> <A HREF="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A><BR>
>><BR>
><BR>
><BR>
><BR>
> --<BR>
> Regards,<BR>
><BR>
> Sudarshan Bisht<BR>
><BR>
<BR>
<BR>
<BR>
--<BR>
Regards,<BR>
<BR>
Sudarshan Bisht<BR>
<BR>
</FONT>
</P>
<pre>
=====================================================================================================================================
This email and any attachments to it contain confidential information and are intended solely for the use of the individual to whom it
is addressed.If you are not the intended recipient or receive it accidentally, please immediately notify the sender by e-mail and delete
the message and any attachments from your computer system, and destroy all hard copies. If any, please be advised that any unauthorized
disclosure, copying, distribution or any action taken or omitted in reliance on this, is illegal and prohibited. Furthermore, any views
or opinions expressed are solely those of the author and do not represent those of ASUSTeK. Thank you for your cooperation.
=====================================================================================================================================
</pre></BODY>
</HTML>