<!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>I use --gst-debug=amrwbdec:5 to debug ,<BR>
the normal seeking with a<BR>
"mode 8, block 61" output log.<BR>
<BR>
but the block seeking with:<BR>
"mode 13, block 0"<BR>
or<BR>
"mode 11, block 0"<BR>
<BR>
-----Original Message-----<BR>
From: Jorney Dong(董士偉_華碩蘇州)<BR>
Sent: 2011-1-14 (星期五) 9:26<BR>
To: Discussion of the development of GStreamer; Discussion of the development of GStreamer<BR>
Subject: 答复: [gst-devel] amr-wb seek problem<BR>
<BR>
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>
<BR>
</FONT>
</P>
</BODY>
</HTML>