[Fwd: amr-wb seek problem]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


And the codec is opencore-amr-0.1.2


-------- ???? --------
??: 	amr-wb seek problem
??: 	Sat, 08 Jan 2011 16:54:28 +0800
???: 	Jorney <jorney_dong at asus.com>
???: 	gstreamer-embedded at 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.
=====================================================================================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20110108/f159ec19/attachment.htm>


[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux