<div>Oh~~~</div>
<div>Get it, thanks a lot.<br><br></div>
<div class="gmail_quote">2009/11/2 Tim-Philipp Müller <span dir="ltr">&lt;<a href="mailto:t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">On Mon, 2009-11-02 at 18:37 +0800, Freeman Zhang wrote:<br>Hi,<br>
<div class="im"><br><br>&gt; When I link &quot;wavparse&quot; to the &quot;audioconvert&quot; it is failed. but if I<br>&gt; use &quot;mad&quot;, it will success.<br>&gt;<br>&gt; I have ran it from the command line:<br>&gt; &quot;gst-launch filesrc location=./media/login.wav ! wavparse !<br>
&gt; audioconvert ! audioresample ! alawenc ! rtppcmapay&quot; it is ok.<br>&gt;<br>&gt; I don&#39;t know why it failed, please help me, how can I can the error<br>&gt; details?<br><br></div>Because that pipeline assumes that the .wav file contains raw audio<br>
(which is the only thing audioconvert can handle). However, in the case<br>where it fails the .wav file seems to contain mp3-encoded audio, which<br>audioconvert can&#39;t handle (but &#39;mad&#39; can).<br><br>You can avoid this kind of problem if you use the &#39;decodebin2&#39; element<br>
instead of wavparse. (or replace filesrc ! wavparse with<br>&#39;uridecodebin&#39;).<br><br>Cheers<br> -Tim<br><br><br><br>------------------------------------------------------------------------------<br>Come build with us! The BlackBerry(R) Developer Conference in SF, CA<br>
is the only developer event you need to attend this year. Jumpstart your<br>developing skills, take BlackBerry mobile applications to market and stay<br>ahead of the curve. Join us from November 9 - 12, 2009. Register now!<br>
<a href="http://p.sf.net/sfu/devconference" target="_blank">http://p.sf.net/sfu/devconference</a><br>_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br></blockquote></div><br>