And the codec is opencore-amr-0.1.2


-------- 原始信息 --------
主题: amr-wb seek problem
日期: Sat, 08 Jan 2011 16:54:28 +0800
发件人: Jorney <jorney_dong@asus.com>
收件人: gstreamer-embedded@lists.sourceforge.net


I am writing amr-wb player with gstreamer on Marvell pxa310.
When I seek to a position by time format, there is a long time blocking
(10 sec or even to 1 min), and there is no voice during the block, then
an EOS message was emitted,
but the position I seeked is far away to the end of the file.

Bytes format has the same problem! here is my seek code:

breslt = gst_element_seek(pipeline,
1.0,
GST_FORMAT_BYTES,
GST_SEEK_FLAG_FLUSH,//|GST_SEEK_FLAG_KEY_UNIT|GST_SEEK_FLAG_SEGMENT,
GST_SEEK_TYPE_SET,
bytePos,//GST_SECOND*nForw*count,
GST_SEEK_TYPE_NONE,
GST_CLOCK_TIME_NONE
);

I use gstreamer-0.10.29 and gst-plugins-ugly-0.10.15's amrwbdec,
gst-plugins-bad-0.10.13's amrparse. like this:

gst-launch filesrc location=abc.amr ! amrparse ! amrwbdec ! alsasink

Could any body help?




=====================================================================================================================================
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.
=====================================================================================================================================