<div dir="ltr">Thanks Aurelien. I made it out after some time.<br><br>Actually I am writing an application that uses udpsrc.<br><br>This is the piece of code that is giving problem while setting CAPS.<br><br>#define ALAW_CAPS &quot;\&quot;application/x-rtp, media = (string)\&quot;audio\&quot;, clock-rate = (int) 8000, encoding-name = (string)\&quot;PCMA\&quot;\&quot;&quot;<br>

<br>mUdpSrc = gst_element_factory_make(&quot;udpsrc&quot;,NULL);<br>g_object_set (mUdpSrc, &quot;caps&quot;, ALAW_CAPS, NULL);<br><br>But in the last statement, it gives segmentation fault. <br><br>Please help.<br><br>Kind Regards<br>

-Durgesh O Mishra<br><br><div class="gmail_quote">On 20 March 2010 02:54, Aurelien Grimaud <span dir="ltr">&lt;<a href="mailto:gstelzz@yahoo.fr">gstelzz@yahoo.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




  

<div text="#000000" bgcolor="#ffffff">
There is a whitespace missing after the end quote of your caps and the
pipe &quot;!&quot; :<br>
gst-launch-0.10 -v udpsrc port=19790
caps=&quot;application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)PCMA&quot;
*whitespace* !
rtppcmadepay ! alawdec ! audioconvert ! audioresample ! fakesink<br>
<br>
Aurelien<br>
Le 19/03/2010 21:25, Durgesh Mishra a écrit :
<blockquote type="cite"><div><div></div><div class="h5">
  <div dir="ltr">Hi Experts,<br>
  <br>
I am trying to run following pipeline but I end up getting error. I am
running it on ubuntu.<br>
  <br>
durgesh@durgesh-desktop:~/mydroid$ gst-launch-0.10 -v udpsrc port=19790
caps=&quot;application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)PCMA&quot;!
rtppcmadepay ! alawdec ! audioconvert ! audioresample ! fakesink<br>
WARNING: erroneous pipeline: could not set property &quot;caps&quot; in element
&quot;udpsrc0&quot; to
&quot;application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)PCMA!&quot;<br>
  <br>
Any help will be greatly appreciated.<br>
  <br>
Kind Regards<br>
-Durgesh O Mishra<br clear="all">
  <br>
-- <br>
&quot;If you only have a hammer, you tend to see every problem as a nail.&quot;<br>
  </div>
  </div></div><pre><fieldset></fieldset>
------------------------------------------------------------------------------
Download Intel&amp;#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
<div class="im"><a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a></div></pre><div class="im">
  <pre><fieldset></fieldset>
_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a>
  </pre>
</div></blockquote>
<br>
</div>

</blockquote></div><br><br clear="all"><br>-- <br>&quot;If you only have a hammer, you tend to see every problem as a nail.&quot;<br>
</div>