Hi, gstreamer-devel:<br><br>&nbsp;&nbsp;&nbsp; You should specify which pad you wanna use in gstrtpbin because gstrtpbin can send/receive rtp/rtcp. In you example, you should request a `send_rtp_sink_%d&#39; pad if you wanna send stuffs in RTP packet format. Here is an example pipeline from gstrtpbin&#39;s manual, it sends not only RTP packets but also RTCP:<br>
<br>gst-launch gstrtpbin name=rtpbin \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; v4l2src ! ffmpegcolorspace ! ffenc_h263 ! rtph263ppay ! rtpbin.send_rtp_sink_0 \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rtpbin.send_rtp_src_0 ! udpsink port=5000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rtpbin.send_rtcp_src_0 ! udpsink port=5001 sync=false async=false&nbsp;&nbsp;&nbsp; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; audiotestsrc ! amrnbenc ! rtpamrpay ! rtpbin.send_rtp_sink_1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rtpbin.send_rtp_src_1 ! udpsink port=5002&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rtpbin.send_rtcp_src_1 ! udpsink port=5003 sync=false async=false&nbsp;&nbsp;&nbsp; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; udpsrc port=5007 ! rtpbin.recv_rtcp_sink_1<br>
<br>&nbsp;&nbsp;&nbsp; Refer to gstrtpbin&#39;s manual for more details.<br><br>Eric Zhang<br><br><div class="gmail_quote">2008/11/11 irfanshaikh <span dir="ltr">&lt;<a href="mailto:irfanshaikh@tataelxsi.co.in">irfanshaikh@tataelxsi.co.in</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi sudarshan,<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I have created a rtpasfpay plug-in. I have used the<br>
fillowing pipeline which works fine.<br>
<br>
 &nbsp; gst-launch videotestsrc ! ffmpegcolorspace ! ffenc_mpeg4 ! ffmux_asf !<br>
asfparse ! asfpay ! udpsink port=5000 host=<a href="http://10.60.3.55" target="_blank">10.60.3.55</a><br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Mpeg4 video gets streamed in above case .....<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp;But when i use gstrtpbin, asfpay does not link with gstrtpbin<br>
<br>
 &nbsp;gst-launch videotestsrc ! ffmpegcolorspace ! ffenc_mpeg4 ! ffmux_asf !<br>
asfparse ! asfpay ! gstrtpbin localport=5000 destinations=<a href="http://10.60.3.55:5000" target="_blank">10.60.3.55:5000</a><br>
<br>
 &nbsp; &nbsp; &nbsp;I have set the src pad capabilities of asfpay to ANY. As well as i<br>
tried with &quot;application/x-rtp&quot; still it shows cannot link..<br>
<br>
<br>
Regards,<br>
Irfan<br>
<br>
<br>
<br>
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.<br>

<br>
-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</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>