[gst-devel] HELP: Link "wavparse" to "audioconvert" has error.

Freeman Zhang pcman.zhang at gmail.com
Mon Nov 2 12:55:20 CET 2009


Oh~~~
Get it, thanks a lot.

2009/11/2 Tim-Philipp Müller <t.i.m at zen.co.uk>

> On Mon, 2009-11-02 at 18:37 +0800, Freeman Zhang wrote:
> Hi,
>
>
> > When I link "wavparse" to the "audioconvert" it is failed. but if I
> > use "mad", it will success.
> >
> > I have ran it from the command line:
> > "gst-launch filesrc location=./media/login.wav ! wavparse !
> > audioconvert ! audioresample ! alawenc ! rtppcmapay" it is ok.
> >
> > I don't know why it failed, please help me, how can I can the error
> > details?
>
> Because that pipeline assumes that the .wav file contains raw audio
> (which is the only thing audioconvert can handle). However, in the case
> where it fails the .wav file seems to contain mp3-encoded audio, which
> audioconvert can't handle (but 'mad' can).
>
> You can avoid this kind of problem if you use the 'decodebin2' element
> instead of wavparse. (or replace filesrc ! wavparse with
> 'uridecodebin').
>
> Cheers
>  -Tim
>
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20091102/3433610d/attachment.htm>


More information about the gstreamer-devel mailing list