<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>Caps negotiation problem with gstrtpbin</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Hi All,<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have element &quot;rtpasfpay&quot; i.e asfpay in following pipeline. I want to link it with &quot;gstrtpbin&quot;<BR>
<BR>
[root@blr0227 rtp]# gst-launch-0.10 -vvv gstrtpbin name=rtpbin filesrc blocksize=1048576 location=/root/mpeg4new.dat ! vbuffer video-codec=1 ! mpeg4videoparse ! ffmux_asf ! asfparse ! asfpay ! rtpbin.send_rtp_sink_2 rtpbin.send_rtp_src_2 ! udpsink port=5000 host=10.60.3.104 name=vrtpsink rtpbin.send_rtcp_src_2 ! udpsink port=5001 host=10.60.3.104 sync=false async=false name=vrtcpsink udpsrc port=5005 name=vrtpsrc ! rtpbin.recv_rtcp_sink_2<BR>
vbuffer-&gt;Video_codec = 1<BR>
<BR>
** (gst-launch-0.10:21780): CRITICAL **: gst_ffmpeg_mux_simple_caps_set_int_list: assertion `GST_CAPS_IS_SIMPLE (caps)' failed<BR>
_init function ended<BR>
WARNING: erroneous pipeline: could not link asfpay0 to rtpbin<BR>
<BR>
llly i cannot use gstrtpbin even with &quot;videotestsrc ! ffenc_mpeg4 !&quot; instead of &quot;filesrc blocksize=1048576 location=/root/mpeg4new.dat ! vbuffer video-codec=1 ! mpeg4videoparse !&quot;<BR>
&nbsp;<BR>
<BR>
I have set the caps in asfpay as follows {I have also tried with caps &quot;ANY&quot;}:<BR>
<BR>
#define SRC_CAPS \<BR>
&nbsp; &quot;application/x-rtp, &quot;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<BR>
&nbsp; &quot;media = (string) { \&quot;application\&quot;, \&quot;video\&quot;, \&quot;audio\&quot; }, &quot; \<BR>
&nbsp; &quot;clock-rate = (int) [1, MAX ], &quot;&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;&nbsp;&nbsp;&nbsp; \<BR>
&nbsp; &quot;encoding-name = (string) \&quot;x-asf-pf\&quot;&quot;<BR>
<BR>
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE (&quot;src&quot;,<BR>
&nbsp;&nbsp;&nbsp; GST_PAD_SRC,<BR>
&nbsp;&nbsp;&nbsp; GST_PAD_ALWAYS,<BR>
&nbsp;&nbsp;&nbsp; GST_STATIC_CAPS (&quot;SRC_CAPS&quot;)<BR>
&nbsp;&nbsp;&nbsp; );<BR>
<BR>
<BR>
&nbsp;&nbsp;&nbsp; My friend has created a element &quot;rtpmjpegpay&quot; with similar caps and similar template only difference was in _chain(). But his element links with above pipeline.<BR>
<BR>
Regards,<BR>
Irfan<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

<p>This message (including any attachment) is confidential and may be legally privileged.  Access to this message by anyone other than the intended recipient(s) listed above is unauthorized.  If you are not the intended recipient you are hereby notified that any disclosure, copying, or distribution of the message, or any action taken or omission of action by you in reliance upon it, is prohibited and may be unlawful.  Please immediately notify the sender by reply e-mail and permanently delete all copies of the message if you have received this message in error.</p>
</BODY>
</HTML>